Skip to content

Commit 9321d6f

Browse files
committed
revert back import changes
1 parent 60a1c5f commit 9321d6f

File tree

3 files changed

+18
-42
lines changed

3 files changed

+18
-42
lines changed

package-lock.json

Lines changed: 16 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@
9696
"@babel/plugin-transform-react-inline-elements": "^7.14.5",
9797
"@babel/preset-env": "^7.14.7",
9898
"@babel/preset-react": "^7.14.5",
99-
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
10099
"@storybook/addon-actions": "^7.0.24",
101100
"@storybook/addon-docs": "^7.0.24",
102101
"@storybook/addon-essentials": "^7.0.27",
@@ -159,6 +158,7 @@
159158
"@babel/register": "^7.14.5",
160159
"@emmetio/codemirror-plugin": "^1.2.4",
161160
"@gatsbyjs/webpack-hot-middleware": "^2.25.3",
161+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
162162
"@redux-devtools/core": "^3.11.0",
163163
"@redux-devtools/dock-monitor": "^2.1.0",
164164
"@redux-devtools/log-monitor": "^3.1.0",

webpack/config.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const webpack = require('webpack');
22
const path = require('path');
33
const CopyWebpackPlugin = require('copy-webpack-plugin');
4-
const ReactRefreshPlugin = process.env.NODE_ENV === 'development'? require('@pmmmwh/react-refresh-webpack-plugin'): {};
4+
const ReactRefreshPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
55
const ESLintPlugin = require('eslint-webpack-plugin');
66

77
if (process.env.NODE_ENV === 'development') {

0 commit comments

Comments
 (0)