mirror of
https://github.com/threeal/cmake-action.git
synced 2026-02-01 19:40:49 +00:00
build: utilize Rollup to bundle action file (#404)
* build: utilize Rollup to bundle file * build: bundle file with `.mjs` extension
This commit is contained in:
11
rollup.config.js
Normal file
11
rollup.config.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import { nodeResolve } from "@rollup/plugin-node-resolve";
|
||||
import typescript from "@rollup/plugin-typescript";
|
||||
|
||||
export default {
|
||||
input: "src/index.ts",
|
||||
output: {
|
||||
dir: "dist",
|
||||
entryFileNames: "[name].mjs",
|
||||
},
|
||||
plugins: [nodeResolve(), typescript()],
|
||||
};
|
||||
Reference in New Issue
Block a user