mirror of
https://github.com/react-webpack-generators/generator-react-webpack.git
synced 2025-12-08 18:01:59 +00:00
Inline pkg.mainInput
This commit is contained in:
parent
ab98751f90
commit
651ff70086
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user