Skip to content

Commit

Permalink
FIX a warning in polymer storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Aug 15, 2018
1 parent 1209703 commit 7ed57a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/polymer-cli/.storybook/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const path = require('path');
const webpack = require('webpack');

module.exports = (storybookBaseConfig, configType, defaultConfig) => {
defaultConfig.module.rules.push({
Expand All @@ -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;
};

0 comments on commit 7ed57a8

Please sign in to comment.