Skip to content

Commit

Permalink
fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Metelkin committed Oct 30, 2023
1 parent ada72e2 commit 04fbf64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ self.onmessage = (evt) => {
try {
var container = build(inputDict, declaration);
} catch(error) {
//throw error;
postMessage({action: 'console', value: contactMessage + '\n'});
postMessage({action: 'console', value: error.stack});

Expand Down
4 changes: 3 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ module.exports = () => {
config.optimization = {
minimize: true,
minimizer: [
new TerserPlugin(),
new TerserPlugin({
terserOptions: {keep_classnames: true}
}),
new CssMinimizerPlugin(),
],
splitChunks: {
Expand Down

0 comments on commit 04fbf64

Please sign in to comment.