Add postpublish scripts

This commit is contained in:
Leonid Logvinov
2018-01-12 21:53:11 +01:00
parent 4d30e1115f
commit feace988b4
12 changed files with 120 additions and 32 deletions

View File

@@ -7,10 +7,10 @@ const path = require('path');
const production = process.env.NODE_ENV === 'production';
let entry = {
'index': './src/index.ts',
index: './src/index.ts',
};
if (production) {
entry = _.assign({}, entry, {'index.min': './src/index.ts'});
entry = _.assign({}, entry, { 'index.min': './src/index.ts' });
}
module.exports = {