| 7 | import visualizer from 'rollup-plugin-visualizer' |
| 8 | |
| 9 | const replaceDevPlugin = type => |
| 10 | replace({ |
| 11 | 'process.env.NODE_ENV': `"${type}"`, |
| 12 | delimiters: ['', ''], |
| 13 | preventAssignment: true, |
| 14 | }) |
| 15 | const extensions = ['.ts', '.tsx'] |
| 16 | const babelPlugin = babel({ |
| 17 | babelHelpers: 'bundled', |