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.
1 parent 1c93c19 commit c2b7b3dCopy full SHA for c2b7b3d
README.md
@@ -128,6 +128,18 @@ require('babel-register')({
128
})
129
```
130
131
+## Using in mocha
132
+
133
+Create a js file with content
134
135
+```js
136
+require('babel-register')({
137
+ ignore: /processCss\.js$/ // regex matching all files used by css-modules-require-hook to process your css files
138
+})
139
+```
140
141
+and then set this file as a compiler `--compilers js:<name-of-your-file>.js`
142
143
## License
144
145
MIT
0 commit comments