mirror of
https://github.com/valentineus/iii-client.git
synced 2025-04-28 01:41:25 +03:00
22 lines
524 B
JavaScript
22 lines
524 B
JavaScript
|
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 }]
|
||
|
],
|
||
|
})
|
||
|
]
|
||
|
};
|