Trying to bend webpack to my will

This commit is contained in:
Surma
2019-02-22 13:15:33 +00:00
parent f24d41ba74
commit 2e478b323a
6 changed files with 60 additions and 10 deletions

View File

@@ -38,7 +38,8 @@ module.exports = async function (_, env) {
return {
mode: isProd ? 'production' : 'development',
entry: {
'first-interaction': './src/index'
'first-interaction': './src/index',
'sdk': './src/sdk'
},
devtool: isProd ? 'source-map' : 'inline-source-map',
stats: 'minimal',