mirror of
https://github.com/threeal/cmake-action.git
synced 2025-07-27 00:04:22 +00:00
build: bundle file with .mjs
extension
This commit is contained in:
parent
6718687036
commit
a4b8a2501e
@ -34,4 +34,4 @@ outputs:
|
|||||||
value: ${{ steps.process-inputs.outputs.build-dir }}
|
value: ${{ steps.process-inputs.outputs.build-dir }}
|
||||||
runs:
|
runs:
|
||||||
using: node20
|
using: node20
|
||||||
main: dist/index.js
|
main: dist/index.mjs
|
||||||
|
0
dist/index.js → dist/index.mjs
generated
vendored
0
dist/index.js → dist/index.mjs
generated
vendored
@ -5,6 +5,7 @@ export default {
|
|||||||
input: "src/index.ts",
|
input: "src/index.ts",
|
||||||
output: {
|
output: {
|
||||||
dir: "dist",
|
dir: "dist",
|
||||||
|
entryFileNames: "[name].mjs",
|
||||||
},
|
},
|
||||||
plugins: [nodeResolve(), typescript()],
|
plugins: [nodeResolve(), typescript()],
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user