noot
This commit is contained in:
parent
53f46934e8
commit
7cc1c4ab72
@ -22,7 +22,10 @@
|
|||||||
"linter": {
|
"linter": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"rules": {
|
"rules": {
|
||||||
"recommended": true
|
"recommended": true,
|
||||||
|
"suspicious": {
|
||||||
|
"noExplicitAny": "off"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"javascript": {
|
"javascript": {
|
||||||
|
|||||||
@ -127,7 +127,7 @@ export class WorkerCommand extends Command {
|
|||||||
webpackConfigHook: (config) => {
|
webpackConfigHook: (config) => {
|
||||||
if (!config.resolve) config.resolve = {}
|
if (!config.resolve) config.resolve = {}
|
||||||
if (!config.resolve.alias) config.resolve.alias = {}
|
if (!config.resolve.alias) config.resolve.alias = {}
|
||||||
config.resolve!.alias = {
|
config.resolve.alias = {
|
||||||
'#': path.resolve(process.cwd(), 'src/'),
|
'#': path.resolve(process.cwd(), 'src/'),
|
||||||
...config.resolve!.alias,
|
...config.resolve!.alias,
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user