mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2026-04-19 12:35:44 +00:00
Fix failed ncc build (#1657)
* Initial plan
* Replace @vercel/ncc with esbuild to support @actions/core@3.0.0 (ESM-only)
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
* 📦️ Build
* Replace esbuild with rimraf + rollup for packaging
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
* Remove rollup.config.js build artifact from git tracking
Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
* Remove yarn, switch to npm
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>
Co-authored-by: marocchino <marocchino@users.noreply.github.com>
This commit is contained in:
parent
7d67ef6450
commit
df624d2eed
11 changed files with 2593 additions and 68256 deletions
18
rollup.config.ts
Normal file
18
rollup.config.ts
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
// See: https://rollupjs.org/introduction/
|
||||
|
||||
import commonjs from "@rollup/plugin-commonjs"
|
||||
import nodeResolve from "@rollup/plugin-node-resolve"
|
||||
import typescript from "@rollup/plugin-typescript"
|
||||
|
||||
const config = {
|
||||
input: "src/main.ts",
|
||||
output: {
|
||||
esModule: true,
|
||||
file: "dist/index.js",
|
||||
format: "es",
|
||||
sourcemap: true,
|
||||
},
|
||||
plugins: [typescript({outDir: "dist"}), nodeResolve({preferBuiltins: true}), commonjs()],
|
||||
}
|
||||
|
||||
export default config
|
||||
Loading…
Add table
Add a link
Reference in a new issue