1 |
|
2 |
|
3 | import nodeResolve from 'rollup-plugin-node-resolve';
|
4 | import commonjs from 'rollup-plugin-commonjs';
|
5 | import babel from 'rollup-plugin-babel';
|
6 |
|
7 | export default {
|
8 | 'entry': 'dist/esm/index.js',
|
9 | 'dest': 'dist/bundle/ionic.cloud.js',
|
10 | 'sourceMap': true,
|
11 | 'format': 'iife',
|
12 | 'moduleName': 'Ionic',
|
13 | 'plugins': [
|
14 | nodeResolve({
|
15 | 'browser': true,
|
16 | 'module': true,
|
17 | 'jsnext': true,
|
18 | 'main': true
|
19 | }),
|
20 | commonjs(),
|
21 | babel({
|
22 | 'exclude': 'node_modules/**',
|
23 | 'include': 'node_modules/rxjs/**'
|
24 | })
|
25 | ]
|
26 | };
|