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,
entry: [
'webpack/hot/only-dev-server',
'./src/scripts/components/<%= pkg.mainInput %>.jsx'
'./src/scripts/components/<% if (reactRouter) { %>main<% } else { %><%= scriptAppName %><% } %>.jsx'
],
stats: {

View File

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