diff --git a/package.json b/package.json index 4309e73b76c..bda8a1c636e 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "babel-core": "^6.26.0", "babel-eslint": "^8.2.2", "babel-jest": "^22.4.3", + "babel-loader": "^7.1.4", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-export-extensions": "^6.22.0", "babel-plugin-transform-object-assign": "^6.22.0", diff --git a/storybook/webpack.config.js b/storybook/webpack.config.js index d0e9f6dbe1d..a32efa8f8f5 100644 --- a/storybook/webpack.config.js +++ b/storybook/webpack.config.js @@ -80,6 +80,10 @@ module.exports = { mimetype: 'image/svg+xml', name: '[name].[ext]' } + }, + { + test: /node_modules\/@novnc/, + loader: 'babel-loader' } ] }