mirror of
https://github.com/actions/hello-world-javascript-action.git
synced 2025-04-04 13:49:36 +00:00
18 lines
383 B
JavaScript
18 lines
383 B
JavaScript
// See: https://rollupjs.org/introduction/
|
|
|
|
import commonjs from '@rollup/plugin-commonjs'
|
|
import { nodeResolve } from '@rollup/plugin-node-resolve'
|
|
|
|
const config = {
|
|
input: 'src/index.js',
|
|
output: {
|
|
esModule: true,
|
|
file: 'dist/index.js',
|
|
format: 'es',
|
|
sourcemap: false
|
|
},
|
|
plugins: [commonjs(), nodeResolve({ preferBuiltins: true })]
|
|
}
|
|
|
|
export default config
|