1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 23:03:32 +00:00

stub electron out

This commit is contained in:
Kyle Spearrin
2018-01-16 17:30:57 -05:00
parent 950ab69ea7
commit 45465d6169
7 changed files with 99 additions and 14 deletions

View File

@@ -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: {