rsnext/packages/react-refresh-utils/tsconfig.json
Leah 7c20918bc7
feat: enable configuration of styled-components transform and enable css prop support (#37861)
This allows configuring / overriding the default options of the `styled-components` swc transform and allows using the `css` prop support, which was already implemented, but not available.

Edit: made the CSS prop transform run before the display name, so it gets picked up by that and receives the (deterministic) name.

Relates to #30802
2022-06-23 16:55:05 +00:00

17 lines
375 B
JSON

{
"compilerOptions": {
"module": "commonjs",
"sourceMap": true,
"esModuleInterop": true,
"target": "es2015",
"lib": ["dom"],
"downlevelIteration": true,
"preserveWatchOutput": true,
"outDir": "dist",
"paths": {
"webpack": ["../../node_modules/webpack5"]
}
},
"include": ["**/*.ts"],
"exclude": ["node_modules", "dist"]
}