diff --git a/webpack.config.js b/webpack.config.js index 1d312f2..0520c0f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -28,7 +28,8 @@ const config = { module: { rules: [ { - test: /\.(ts|js)$/, + test: /\.(tsx?|jsx?)$/, + exclude: /node_modules\/(?!(@tusbar\/cache-control))/, use: { loader: 'babel-loader' } } ]