SyMind / rspackify

Seamlessly switch from Webpack to Rspack on the fly ⚡️
MIT License
18 stars 1 forks source link

babel aliases #3

Open headfire94 opened 7 months ago

headfire94 commented 7 months ago

Webpack uses babel-loader which has aliases specified in babel.config or .babelrc. like:

[
      'module-resolver',
      {
        alias: alias,
      },
    ],

Rspack requires aliases to be defined in config itself. Need to check if babel-loader exist and copy aliases from it

headfire94 commented 7 months ago

see https://github.com/headfire94/rspackify/pull/1

SyMind commented 7 months ago

@headfire94 Thank you very much for pointing out the issue. I will address it in due course.