swc-loader icon indicating copy to clipboard operation
swc-loader copied to clipboard

adding an option for 'configFile'

Open bahtou opened this issue 4 years ago • 1 comments

Are there any plans on adding an option to the loaders to point to a swcrc configuration file similar to how babel does it? https://babeljs.io/docs/en/options#configfile

bahtou avatar Nov 08 '21 16:11 bahtou

I would also like to use this option. It makes migrating from babel to swc much easier if this is supported. For example, I need the currently processed filename to be passed to my plugin, but right now my plugin has no way to know the filename without this option

rametta avatar Jan 24 '22 14:01 rametta