Skip to content

Commit 3b3452c

Browse files
committed
fix: configure buble to support object spread operator
Add objectAssign: 'Object.assign' option to buble plugin to support ES6 object spread syntax.
1 parent aaf7932 commit 3b3452c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rollup.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ const config = {
77
format: 'cjs',
88
indent: false
99
},
10-
plugins: [buble()],
10+
plugins: [
11+
buble({
12+
objectAssign: 'Object.assign',
13+
}),
14+
],
1115
};
1216

1317
export default config;

0 commit comments

Comments
 (0)