Skip to content

Commit 4758fe4

Browse files
Merge pull request #168 from wednesday-solutions/feat/upgrade-webpack
feat: remove extra imports from storybook
2 parents d54476a + 5661c47 commit 4758fe4

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.storybook/config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import { configure } from '@storybook/react';
2-
import '@formatjs/intl-relativetimeformat/polyfill';
3-
import '@formatjs/intl-relativetimeformat/locale-data/en';
42
import React from 'react';
53
import { addDecorator } from '@storybook/react';
64
import { withKnobs } from '@storybook/addon-knobs';

internals/webpack/webpack.config.dev.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const path = require('path');
66
const webpack = require('webpack');
77
const HtmlWebpackPlugin = require('html-webpack-plugin');
88
const CircularDependencyPlugin = require('circular-dependency-plugin');
9-
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
109

1110
module.exports = require('./webpack.config.base')({
1211
mode: 'development',
@@ -38,8 +37,7 @@ module.exports = require('./webpack.config.base')({
3837
new CircularDependencyPlugin({
3938
exclude: /a\.js|node_modules/, // exclude node_modules
4039
failOnError: false // show a warning when there is a circular dependency
41-
}),
42-
new BundleAnalyzerPlugin()
40+
})
4341
],
4442

4543
// Emit a source map for easier debugging

0 commit comments

Comments
 (0)