Skip to content

Commit

Permalink
Remove only usage of Webpack aliases and resolver, incompatible with …
Browse files Browse the repository at this point in the history
…new setup
  • Loading branch information
thibaudcolas authored and kaedroho committed Oct 21, 2020
1 parent d0dd682 commit ef2c177
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Expand Up @@ -8,7 +8,7 @@
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack/prod.config.js"
"config": "client/webpack.config.js"
}
}
},
Expand Down
3 changes: 0 additions & 3 deletions client/webpack.config.js
Expand Up @@ -42,9 +42,6 @@ module.exports = function exports() {
],
resolve: {
extensions: ['.ts', '.tsx', '.js'],
alias: {
'wagtail-client': path.resolve('.', 'client'),
},
},
module: {
rules: [
Expand Down
Expand Up @@ -9,7 +9,7 @@ import {
initSkipLink,
initIE11Warning,
initUpgradeNotification,
} from 'wagtail-client';
} from '../../../../../client/src/index';

if (process.env.NODE_ENV === 'development') {
// Run react-axe in development only, so it does not affect performance
Expand Down

0 comments on commit ef2c177

Please sign in to comment.