Open cheuksing opened 1 year ago
Unable to pass custom options via swc-loader. (see below).
{ loader: require.resolve("swc-loader"), options: { jsc: { baseUrl: "src", paths: { "@services/*": ["services/*"], "@i18n": ["i18n"], }, }, }, }
baseUrl
swc-loader
https://github.com/cheuksing/swc-loader-issue-demo
yarn install
README.md
Is there currently any work around for this?
@jonniedarko You can remove .swcrc
.swcrc
Issue
Unable to pass custom options via swc-loader. (see below).
Config
Expected result
baseUrl
viaswc-loader
Actual result
baseUrl
with webpack'sswc-loader
Repository for reproducing issue
https://github.com/cheuksing/swc-loader-issue-demo
How to start Reproducing Repo
yarn install
README.md