build embed script only in production mode

This commit is contained in:
igoradamenko
2018-02-18 00:37:27 +02:00
parent e08313ea0a
commit d707449d5c
+1 -1
View File
@@ -40,7 +40,7 @@ module.exports = {
context: __dirname,
entry: {
remark: './app/remark',
embed: './app/embed',
...(env === 'production' ? { embed: './app/embed' } : {}),
},
output: {
path: publicFolder,