Skip to content

Commit

Permalink
lint update and add map for @modules alias
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Nov 30, 2023
1 parent ac3cc90 commit 9ec77a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = {
map: [
[ 'App', './src/app' ],
[ 'Assets', './aseets' ],
[ '@modules', './vendor/newfold-labs' ],
],
extensions: [ '.js', '.jsx', '.json' ],
},
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const alias = {
Assets: path.resolve( __dirname, '/assets/' ),
Store: path.resolve( __dirname, '/src/app/data/store.js' ),
Routes: path.resolve( __dirname, '/src/app/data/routes.js' ),
'@modules': path.resolve(__dirname, '/vendor/newfold-labs/'),
'@modules': path.resolve( __dirname, '/vendor/newfold-labs/' ),
};
/**
* Make most-common imports available globally to ease import debt.
Expand Down

0 comments on commit 9ec77a5

Please sign in to comment.