We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
processWithEsbuild
1 parent b58d089 commit ae1c8ebCopy full SHA for ae1c8eb
website/docs/getting-started/options.md
@@ -22,6 +22,23 @@ moduleNameMapper: {
22
}
23
```
24
25
+### Processing with esbuild
26
+
27
+Since **v11.0.0**, `jest-preset-angular` introduced the usage of `esbuild` to process files besides TypeScript API. By default, all `.mjs` files
28
+will be processed by `esbuild` in `jest-preset-angular`. To configure extra files to process with `esbuild`, one can do the following:
29
30
+```js
31
+// jest.config.js
32
+module.exports = {
33
+ //...
34
+ globals: {
35
+ ngJest: {
36
+ processWithEsbuild: [<glob_to_files>],
37
+ },
38
39
+}
40
+```
41
42
:::
43
44
### Exposed configuration
0 commit comments