mirror of
https://github.com/Telecominfraproject/wlan-cloud-ui.git
synced 2025-10-29 18:02:36 +00:00
update webpack
This commit is contained in:
@@ -81,7 +81,7 @@
|
||||
"lint-staged": {
|
||||
"*.{js,jsx}": [
|
||||
"pretty-quick --staged",
|
||||
"eslint . --fix --max-warnings=0",
|
||||
"eslint . --fix \"app/**/*.js\" --max-warnings=0",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
|
||||
@@ -43,16 +43,17 @@ module.exports = {
|
||||
modules: [
|
||||
'node_modules',
|
||||
'app',
|
||||
path.resolve(__dirname, '../', 'node_modules', 'wlan-cloud-ui-library', 'src'),
|
||||
path.resolve(__dirname, '../', 'node_modules', '@tip-wlan', 'wlan-cloud-ui-library', 'src'),
|
||||
],
|
||||
alias: {
|
||||
app: path.resolve(__dirname, '../', 'app'),
|
||||
react: path.resolve(__dirname, '../', 'node_modules', 'react'),
|
||||
'react-router-dom': path.resolve('./node_modules/react-router-dom'),
|
||||
'wlan-cloud-ui-library': path.resolve(
|
||||
'@tip-wlan/wlan-cloud-ui-library': path.resolve(
|
||||
__dirname,
|
||||
'../',
|
||||
'node_modules',
|
||||
'@tip-wlan',
|
||||
'wlan-cloud-ui-library',
|
||||
'src'
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user