1
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:
2017-09-28 20:47:06 +04:00
parent 95f2695948
commit 1c0e2c906d
3 changed files with 30 additions and 30 deletions

22
rollup.config.js Normal file
View 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 }]
],
})
]
};