@jscutlery/swc-angular-plugin 0.14.15 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -16,4 +16,20 @@ This means that while it is suitable for testing, it shouldn't be used to build
|
|
|
16
16
|
|
|
17
17
|
## Try it now with your Jest tests
|
|
18
18
|
|
|
19
|
-
Cf. [`@jscutlery/swc-angular`](../swc-angular/README.md)
|
|
19
|
+
Cf. [`@jscutlery/swc-angular`](../swc-angular/README.md)
|
|
20
|
+
|
|
21
|
+
## Config
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
[
|
|
25
|
+
'@jscutlery/swc-angular-plugin',
|
|
26
|
+
{
|
|
27
|
+
// this plugin removes styles by default, enable this to transform style urls to style imports
|
|
28
|
+
importStyles?: boolean,
|
|
29
|
+
// add ?inline suffix to style imports for vite support
|
|
30
|
+
styleInlineSuffix?: boolean,
|
|
31
|
+
// add ?raw suffix to template imports for vite support
|
|
32
|
+
templateRawSuffix?: boolean,
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
```
|
package/package.json
CHANGED
|
Binary file
|