mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 23:03:32 +00:00
stub electron out
This commit is contained in:
@@ -22,7 +22,7 @@ module.exports = {
|
||||
stats: 'minimal'
|
||||
},
|
||||
entry: {
|
||||
'app': './src/main.ts'
|
||||
'app/main': './src/app/main.ts'
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
@@ -47,17 +47,17 @@ module.exports = {
|
||||
path.resolve(__dirname, 'build/*')
|
||||
]),
|
||||
new webpack.optimize.CommonsChunkPlugin({
|
||||
name: 'vendor',
|
||||
chunks: ['app'],
|
||||
name: 'app/vendor',
|
||||
chunks: ['app/main'],
|
||||
minChunks: isVendorModule
|
||||
}),
|
||||
new HtmlWebpackPlugin({
|
||||
template: './src/index.html',
|
||||
filename: 'index.html',
|
||||
chunks: ['vendor', 'app']
|
||||
chunks: ['app/vendor', 'app/main']
|
||||
}),
|
||||
new CopyWebpackPlugin([
|
||||
|
||||
'./src/package.json',
|
||||
])
|
||||
],
|
||||
resolve: {
|
||||
|
||||
Reference in New Issue
Block a user