Closed lyhourchhen closed 3 years ago
What's your craco config?
I try to run directly from your example.
const cracoSwcPlugin = require('craco-swc');
module.exports = {
plugins: [
{
plugin: cracoSwcPlugin,
},
],
};
Do you have a .swcrc
file? Also do you have a tsconfig.json file at the root of your repo?
The example is missing this .srwcrc now i am pull requesting.