We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1109e2c commit 673236dCopy full SHA for 673236d
webpack.config.js
@@ -11,8 +11,10 @@ module.exports = {
11
},
12
resolve: {
13
alias: {
14
- 'react-dom': '@hot-loader/react-dom'
15
- }
+ 'react-dom': '@hot-loader/react-dom',
+ 'react-lifecycle-visualizer': path.join(__dirname, 'src'),
16
+ },
17
+ extensions: ['.js', '.jsx']
18
19
module: {
20
rules: [{
@@ -42,18 +44,13 @@ module.exports = {
42
44
{
43
45
loader: 'sass-loader',
46
options: {
47
+ // eslint-disable-next-line global-require
48
implementation: require('sass')
49
}
50
51
]
52
}]
53
- resolve: {
- alias: {
- 'react-lifecycle-visualizer': path.join(__dirname, 'src'),
54
- },
55
- extensions: ['.js', '.jsx']
56
57
devServer: {
58
host: '0.0.0.0',
59
port: devServerPort,
0 commit comments