Inline pkg.mainInput

This commit is contained in:
ColCh 2014-11-02 16:16:56 +03:00
parent ab98751f90
commit 651ff70086
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ module.exports = {
devtool: false, devtool: false,
entry: [ entry: [
'webpack/hot/only-dev-server', 'webpack/hot/only-dev-server',
'./src/scripts/components/<%= pkg.mainInput %>.jsx' './src/scripts/components/<% if (reactRouter) { %>main<% } else { %><%= scriptAppName %><% } %>.jsx'
], ],
stats: { stats: {

View File

@ -18,7 +18,7 @@ module.exports = {
debug: false, debug: false,
devtool: false, devtool: false,
entry: './src/scripts/components/<%= pkg.mainInput %>.jsx', entry: './src/scripts/components/<% if (reactRouter) { %>main<% } else { %><%= scriptAppName %><% } %>.jsx',
stats: { stats: {
colors: true, colors: true,