mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-06-27 18:25:20 +08:00
Moved run script to root of src folder and renamed it to index.j. Updated config files to use this as entry point to the template
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ let config = _.merge({
|
||||
entry: [
|
||||
'webpack-dev-server/client?http://127.0.0.1:8000',
|
||||
'webpack/hot/only-dev-server',
|
||||
'./src/components/run'
|
||||
'./src/index'
|
||||
],
|
||||
cache: true,
|
||||
devtool: 'eval',
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ let baseConfig = require('./base');
|
||||
let BowerWebpackPlugin = require('bower-webpack-plugin');
|
||||
|
||||
let config = _.merge({
|
||||
entry: path.join(__dirname, '../src/components/run'),
|
||||
entry: path.join(__dirname, '../src/index'),
|
||||
cache: false,
|
||||
devtool: 'sourcemap',
|
||||
plugins: [
|
||||
|
||||
Reference in New Issue
Block a user