Skip to content

Commit

Permalink
Fix build error. For some reason "const" is not transpiled
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilhavy committed Nov 13, 2024
1 parent ccbdb3c commit d8ac24c
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions build/webpack.base.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ const commonConfig = {
rules: [
{
test: /\.(js)$/,
exclude: [
/node_modules\/codem-isoboxer/,
/node_modules\/fast-deep-equal/,
/node_modules\/html-entities/,
/node_modules\/imsc/,
/node_modules\/localforage/,
/node_modules\/path-browserify/,
/node_modules\/ua-parser-js/
],
include: {
and: [
/node_modules/
],
not: [/core-js/]
},
use: [
{
loader: 'string-replace-loader',
Expand Down

0 comments on commit d8ac24c

Please sign in to comment.