From 1c0e2c906d8c0c503b2e74034275bb3321a216d8 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 28 Sep 2017 20:47:06 +0400 Subject: Switch to the rollup assembly system --- rollup.config.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 rollup.config.js (limited to 'rollup.config.js') diff --git a/rollup.config.js b/rollup.config.js new file mode 100644 index 0000000..e8d61b6 --- /dev/null +++ b/rollup.config.js @@ -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 }] + ], + }) + ] +}; \ No newline at end of file -- cgit v1.2.3