rickvanlieshout.com/internal/testing/swc-config.ts

20 lines
261 B
TypeScript
Raw Permalink Normal View History

const config = {
sourceMaps: true,
module: {
type: "commonjs",
},
jsc: {
parser: {
syntax: "typescript",
tsx: true,
},
transform: {
react: {
runtime: "automatic",
},
},
},
};
export default config;