mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2026-04-06 22:49:25 +00:00
* Initial plan * Initial plan for fixing ESM-only @actions packages build failure Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com> * Fix build failure: update tsconfig and rollup config for ESM-only @actions packages Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
This commit is contained in:
parent
3e142bf422
commit
0702f7c3c8
4 changed files with 35457 additions and 44 deletions
35489
dist/index.js
generated
vendored
35489
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
|
|
@ -7,12 +7,12 @@ import typescript from "@rollup/plugin-typescript"
|
|||
const config = {
|
||||
input: "src/main.ts",
|
||||
output: {
|
||||
esModule: true,
|
||||
exports: "auto",
|
||||
file: "dist/index.js",
|
||||
format: "es",
|
||||
format: "cjs",
|
||||
sourcemap: true,
|
||||
},
|
||||
plugins: [typescript({outDir: "dist"}), nodeResolve({preferBuiltins: true}), commonjs()],
|
||||
plugins: [typescript(), nodeResolve({preferBuiltins: true}), commonjs()],
|
||||
}
|
||||
|
||||
export default config
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@
|
|||
"forceConsistentCasingInFileNames": true,
|
||||
"isolatedModules": true,
|
||||
"lib": ["ES2022"],
|
||||
"module": "NodeNext",
|
||||
"moduleResolution": "NodeNext",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Bundler",
|
||||
"newLine": "lf",
|
||||
"noImplicitAny": true,
|
||||
"noUnusedLocals": true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue