Skip to content

Commit f3bd42d

Browse files
MapTo0kskondov
authored andcommitted
fix: build error on MacOS 11 from rollup-plugin-terser (#3347)
revert of revert of #2515
1 parent 3de1989 commit f3bd42d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/tools/components-package/rollup.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ const getPlugins = ({ transpile }) => {
106106
plugins.push(nodeResolve());
107107

108108
if (!process.env.DEV) {
109-
plugins.push(terser());
109+
plugins.push(terser({
110+
numWorkers: 1,
111+
}));
110112
}
111113

112114
if (process.env.DEV) {

0 commit comments

Comments
 (0)