nix-flake-outputs-size/rollup.config.js
Jalil David Salamé Messina 8925f3da6d
Some checks failed
/ check (treefmt) (push) Successful in 4s
/ report-size (push) Failing after 4s
/ report-download-check (push) Has been skipped
WIP: refactor: port to JS
This should hopefully reduce the complexity of the action
2025-07-11 17:54:10 +02:00

18 lines
429 B
JavaScript

// See: https://rollupjs.org/introduction/
import commonjs from '@rollup/plugin-commonjs'
import json from '@rollup/plugin-json'
import { nodeResolve } from '@rollup/plugin-node-resolve'
const config = {
input: 'src/index.js',
output: {
esModule: true,
file: 'dist/index.js',
format: 'es',
sourcemap: true
},
plugins: [commonjs(), json(), nodeResolve({ preferBuiltins: true })]
}
export default config