Skip to content

Commit 6ae0126

Browse files
committed
✨ update rollup configure
1 parent 9914be7 commit 6ae0126

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

.babelrc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
]
99
],
1010
"plugins": [
11-
"transform-object-rest-spread",
12-
"transform-runtime",
13-
"external-helpers"
11+
"transform-object-rest-spread"
1412
]
1513
}

rollup.config.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ Configure = {
3030
dest: `${paths.dist.root}${fileName}.js`,
3131
sourceMap: true,
3232
plugins: [
33-
babel({
34-
plugins: ['external-helpers'],
35-
externalHelpers: true,
36-
runtimeHelpers: true,
37-
}),
33+
babel(),
3834
sourcemaps(),
3935
],
4036
};

0 commit comments

Comments
 (0)