WIP: refactor: port to JS
This should hopefully reduce the complexity of the action
This commit is contained in:
parent
a26909cb8c
commit
0be52794ad
20 changed files with 215059 additions and 109 deletions
18
rollup.config.js
Normal file
18
rollup.config.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
// 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
|
Loading…
Add table
Add a link
Reference in a new issue