diff options
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r-- | config/webpack.config.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 05a217c04fe..e220482d769 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -161,7 +161,9 @@ module.exports = { }, { test: /\.js$/, - exclude: path => /node_modules|vendor[\\/]assets/.test(path) && !/\.vue\.js/.test(path), + exclude: path => + /node_modules\/(?!tributejs)|node_modules|vendor[\\/]assets/.test(path) && + !/\.vue\.js/.test(path), loader: 'babel-loader', options: { cacheDirectory: path.join(CACHE_PATH, 'babel-loader'), |