mirror of
https://github.com/valentineus/iii-client.git
synced 2025-12-21 14:13:22 +04:00
Switch to the rollup assembly system
This commit is contained in:
22
rollup.config.js
Normal file
22
rollup.config.js
Normal file
@@ -0,0 +1,22 @@
|
||||
import builtins from 'rollup-plugin-node-builtins';
|
||||
import globals from 'rollup-plugin-node-globals';
|
||||
import babel from 'rollup-plugin-babel';
|
||||
|
||||
export default {
|
||||
moduleName: 'client',
|
||||
dest: 'dist/bundle.js',
|
||||
entry: 'src/index.js',
|
||||
format: 'iife',
|
||||
plugins: [
|
||||
builtins(),
|
||||
globals(),
|
||||
babel({
|
||||
babelrc: false,
|
||||
sourceMaps: false,
|
||||
comments: false,
|
||||
presets: [
|
||||
["es2015", { modules: false }]
|
||||
],
|
||||
})
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user