1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Index: node-puka/rollup.config.js
===================================================================
--- node-puka.orig/rollup.config.js
+++ node-puka/rollup.config.js
@@ -1,9 +1,11 @@
import babel from 'rollup-plugin-babel';
-import cleanup from 'rollup-plugin-cleanup';
export default {
input: 'src/index.js',
- format: 'cjs',
+ output: {
+ file: 'dist/index.js',
+ format: 'cjs',
+ },
plugins: [
babel({
babelrc: false,
@@ -15,8 +17,5 @@ export default {
'transform-es2015-spread',
],
}),
- cleanup({
- comments: /^(?:(?!eslint-)[^])*$/,
- }),
],
};
|