webpack-chain
webpack-chain copied to clipboard
Can I set the `alias` with an array?
in my tsconfig.json, I can specify path alias such as following:
"baseUrl": ".",
"paths": {
"@/*": [ "src/main/*", "src/resources/*" ]
},
and then, I can import resource file 'src/resource/image/log.png' as '@/image/logo.png', and at the same time, I aslo can import file 'src/main/util/fs-util.ts' as '@/util/fs-util'.
I tried it, but got this error message:
I hope I made myself clear, thank you!
Any progress ?