nix-flake-outputs-size/rollup.config.js
Jalil David Salamé Messina 2219bc61f0
Some checks failed
/ check (treefmt) (push) Failing after 19s
/ report-size (push) Has been skipped
/ report-download-check (push) Has been skipped
WIP: refactor: port to JS
This should hopefully reduce the complexity of the action
2025-07-10 23:56:23 +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