Skip to content

Commit

Permalink
chore: don't transpile node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Dec 9, 2021
1 parent 488cd49 commit 05aadff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ const config = {
module: {
rules: [
{
test: /\.(ts|js)$/,
test: /\.(tsx?|jsx?)$/,
exclude: /node_modules\/(?!(@tusbar\/cache-control))/,
use: { loader: 'babel-loader' }
}
]
Expand Down

0 comments on commit 05aadff

Please sign in to comment.