From 7ed57a8e59703964a6b85a033dfb814f27002c5a Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 15 Aug 2018 15:44:15 +0200 Subject: [PATCH] FIX a warning in polymer storybook --- examples/polymer-cli/.storybook/webpack.config.js | 4 ++++ 1 file changed, 4 insertions(+) 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; };