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