-
Notifications
You must be signed in to change notification settings - Fork 181
Description
i ve whated video 3. i ve some problem about loaders. This issue ;
Asset Size Chunks Chunk Names
bundle.js 102 kB 0 main
chunk {0} bundle.js (main) 78 kB [rendered]
[0] multi main 40 bytes {0} [built] [1 error]
[1] .//html-entities/lib/html5-entities.js 49 kB {0} [built]/ansi-html/index.js 4.26 kB {0} [built]
[2] ./
[3] .//ansi-regex/index.js 135 bytes {0} [built]/html-entities/index.js 231 bytes {0} [built]
[4] ./
[5] .//html-entities/lib/html4-entities.js 6.59 kB {0} [built]/html-entities/lib/xml-entities.js 2.99 kB {0} [built]
[6] ./
[7] ./~/strip-ansi/index.js 161 bytes {0} [built]
[8] (webpack)-hot-middleware/client-overlay.js 2.21 kB {0} [built]
[9] (webpack)-hot-middleware/client.js 7.77 kB {0} [built]
[10] (webpack)-hot-middleware/process-update.js 4.33 kB {0} [built]
[11] (webpack)/buildin/module.js 251 bytes {0} [built]
ERROR in multi main
Module not found: Error: Cannot resolve module 'react-hot' in D:\WorkSpace\Tutorals\ReactReduxTutorial
@ multi main
And i changed web.pack.config.dev.js
import path from 'path'
import webpack from 'webpack';
export default {
devtools: 'eval-source-map',
entry: [
'webpack-hot-middleware/client',
path.join(__dirname, '/client/index.js')
],
output: {
path: '/',
publicPath: '/'
},
plugins: [
new webpack.NoErrorsPlugin(),
new webpack.optimize.OccurenceOrderPlugin(),
new webpack.HotModuleReplacementPlugin()
],
module: {
loaders: [
{
test: /.js$/,
include: [
path.join(__dirname, 'client'),
path.join(__dirname, 'server/shared')
],
loaders: [ 'babel' ]
}
]
},
resolve: {
extentions: [ '', '.js' ]
}
}
i only changed "loaders: [ 'babel' ]" so my react's rendering need refresh every changes. How can i solve them ?
And here is my git repo ; https://github.com/abdullahsuhaisk/ReactRedux.git