Skip to content

Commit bd5fe34

Browse files
committed
fix: webpack.common.js
1. disableHostCheck 제거 #26
1 parent fde8434 commit bd5fe34

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

webpack.common.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable */
22
const path = require('path');
33
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
4-
const { EnvironmentPlugin, LoaderOptionsPlugin } = require('webpack');
4+
const { EnvironmentPlugin } = require('webpack');
55

66
require('dotenv/config');
77

@@ -33,13 +33,5 @@ module.exports = {
3333
clean: true,
3434
publicPath: '/',
3535
},
36-
plugins: [
37-
new ForkTsCheckerWebpackPlugin(),
38-
new EnvironmentPlugin(['REACT_APP_SERVER_URL']),
39-
new LoaderOptionsPlugin({
40-
options: {
41-
disableHostCheck: true,
42-
},
43-
}),
44-
],
36+
plugins: [new ForkTsCheckerWebpackPlugin(), new EnvironmentPlugin(['REACT_APP_SERVER_URL'])],
4537
};

0 commit comments

Comments
 (0)