mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2024-11-24 11:51:02 -05:00
23 lines
343 B
JavaScript
23 lines
343 B
JavaScript
|
import resolve from 'rollup-plugin-node-resolve'
|
||
|
import commonjs from 'rollup-plugin-commonjs'
|
||
|
import pkg from './package.json'
|
||
|
|
||
|
export default {
|
||
|
input: `index.js`,
|
||
|
plugins: [
|
||
|
commonjs(),
|
||
|
resolve(),
|
||
|
],
|
||
|
output: [
|
||
|
{
|
||
|
file: pkg.main,
|
||
|
format: `cjs`
|
||
|
},
|
||
|
{
|
||
|
name: 'deepmerge',
|
||
|
file: 'dist/umd.js',
|
||
|
format: `umd`
|
||
|
},
|
||
|
],
|
||
|
}
|