diff --git a/services/web/webpack.config.js b/services/web/webpack.config.js index 6c9d90a666..04b2532e85 100644 --- a/services/web/webpack.config.js +++ b/services/web/webpack.config.js @@ -95,7 +95,7 @@ module.exports = { test: /\.[jt]sx?$/, // Only compile application files (npm and vendored dependencies are in // ES5 already) - exclude: [/node_modules\/(?!react-dnd\/)/, vendorDir], + exclude: [/node_modules\/(?!(react-dnd|chart\.js)\/)/, vendorDir], use: [ { loader: 'babel-loader',