mirror of
https://github.com/desktop/desktop
synced 2024-09-17 23:21:55 +00:00
#no #errors #noerrors
This commit is contained in:
parent
ddc323f151
commit
464ee91cd3
|
@ -2,6 +2,7 @@
|
|||
|
||||
const path = require('path')
|
||||
const HtmlWebpackPlugin = require('html-webpack-plugin')
|
||||
const webpack = require('webpack')
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
|
@ -41,7 +42,8 @@ module.exports = {
|
|||
new HtmlWebpackPlugin({
|
||||
'filename': 'shared.html',
|
||||
'chunks': ['shared']
|
||||
})
|
||||
}),
|
||||
new webpack.NoErrorsPlugin()
|
||||
],
|
||||
externals: function (context, request, callback) {
|
||||
try {
|
||||
|
|
|
@ -20,7 +20,6 @@ const config = {
|
|||
plugins: [
|
||||
...common.plugins,
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
new webpack.NoErrorsPlugin(),
|
||||
new webpack.DefinePlugin(Object.assign({}, {
|
||||
__DEV__: true
|
||||
}, common.replacements))
|
||||
|
|
Loading…
Reference in a new issue