You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 10, 2021. It is now read-only.
I'm testing my React components with Tape, which means I need to run the tests through babel to transpile the JSX. Here's the command I use to run my tests:
The important part is -r babel-register, which transpiles the code right before running it. I'm trying to use zuul with this setup, but I'm at a loss for how to pass options to tape. Is this currently possible? Or do I need to pull in browserify? The project is currently using webpack and we don't want to change that.
It may also be possible to add webpack support. For that, I could see an additional field in .zuul.yml like this:
webpack:
config: webpack.config.js
If this is something that more people want, I'd be happy to get started on a pull request!
The text was updated successfully, but these errors were encountered:
I'm testing my React components with Tape, which means I need to run the tests through babel to transpile the JSX. Here's the command I use to run my tests:
The important part is
-r babel-register
, which transpiles the code right before running it. I'm trying to use zuul with this setup, but I'm at a loss for how to pass options to tape. Is this currently possible? Or do I need to pull in browserify? The project is currently using webpack and we don't want to change that.It may also be possible to add webpack support. For that, I could see an additional field in
.zuul.yml
like this:If this is something that more people want, I'd be happy to get started on a pull request!
The text was updated successfully, but these errors were encountered: