diff --git a/examples/polymer-cli/.storybook/webpack.config.js b/examples/polymer-cli/.storybook/webpack.config.js index 647e02ae0d4a..e6be81a0e93b 100644 --- a/examples/polymer-cli/.storybook/webpack.config.js +++ b/examples/polymer-cli/.storybook/webpack.config.js @@ -1,4 +1,5 @@ const path = require('path'); +const webpack = require('webpack'); module.exports = (storybookBaseConfig, configType, defaultConfig) => { defaultConfig.module.rules.push({ @@ -8,5 +9,8 @@ module.exports = (storybookBaseConfig, configType, defaultConfig) => { enforce: 'pre', }); + // TEMP fix: https://github.com/plotly/plotly.js/issues/2466#issuecomment-372924684 + defaultConfig.plugins.push(new webpack.IgnorePlugin(/vertx/)); + return defaultConfig; };