Skip to content

Commit 3d9a333

Browse files
authored
Merge branch 'main' into repo-sync
2 parents c6dbcef + f11c543 commit 3d9a333

5 files changed

Lines changed: 1196 additions & 2434 deletions

File tree

middleware/webpack.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
11
const webpack = require('webpack')
22
const middleware = require('webpack-dev-middleware')
33
const config = require('../webpack.config')
4-
const FriendlyErrorsWebpackPlugin = require('friendly-errors-webpack-plugin')
54

65
const webpackCompiler = webpack({
76
...config,
8-
mode: 'development',
97
plugins: [
10-
...config.plugins,
11-
new FriendlyErrorsWebpackPlugin({
12-
clearConsole: false
13-
})
8+
...config.plugins
149
]
1510
})
1611

1712
module.exports = middleware(webpackCompiler, {
18-
publicPath: config.output.publicPath,
19-
logLevel: 'silent'
13+
publicPath: config.output.publicPath
2014
})

0 commit comments

Comments
 (0)