mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-09-12 12:21:11 +08:00
Inline pkg.mainInput
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user