UNPKG
react-errors
Version:
latest (0.1.4)
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Show errors on the top-right
github.com/xcatliu/react-errors
xcatliu/react-errors
react-errors
/
examples
/
simple-example
/
webpack.config.js
16 lines
(15 loc)
•
255 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module
.exports = { entry:
'./entry.js'
,
output
:
'bundle.js'
,
debug
:
true
, devtool:
'source-map'
,
module
: {
loaders
: [ { test: /\.js$/, exclude: /node_modules/,
loaders
: [
'babel-loader'
], }, ], }, };