Skip to content

Commit

Permalink
fix: resolve alias for utils folder for library webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-d-rat committed Aug 19, 2019
1 parent 5c0967b commit 3f3c1fe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/webpack.lib.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ module.exports = {
},
resolve: {
modules: ['node_modules'],
extensions: ['.js', '.jsx']
extensions: ['.js', '.jsx'],
alias: {
utils: path.join(project.path.src, 'utils')
}
},
entry: {
'react-middle-truncate': path.resolve(project.path.src, 'react-middle-truncate/index.js')
Expand Down

0 comments on commit 3f3c1fe

Please sign in to comment.