Skip to content

Commit e75c912

Browse files
authored
Fix react-spark-scroll resolve path
When running examples it seems that *react-spark-scroll* alias wasn't resolve as expected 😭. Causing app to crash because paths to *spark-scroll-gsap* and *spark-scroll-rekapi* were wrong 🔧.
1 parent 5aeb6ff commit e75c912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = {
3434

3535
resolve: {
3636
alias: {
37-
'react-spark-scroll': path.resolve(__dirname + '../../src/'),
37+
'react-spark-scroll': path.resolve(__dirname, '../src'),
3838
'underscore': 'lodash'
3939
}
4040
},

0 commit comments

Comments
 (0)