Skip to content

Commit

Permalink
Only exclude core-js from transpiling
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilhavy committed Nov 13, 2024
1 parent d8ac24c commit 0c96b26
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions build/webpack.base.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@ const commonConfig = {
rules: [
{
test: /\.(js)$/,
include: {
and: [
/node_modules/
],
not: [/core-js/]
},
exclude: [/core-js/],
use: [
{
loader: 'string-replace-loader',
Expand Down

0 comments on commit 0c96b26

Please sign in to comment.