feature: presets for node and browser
See original GitHub issue@pollyjs/preset-node
@pollyjs/preset-browser
To abstract away setting up the persisters and adapters that are commonly available in each runtime. Will simplify the documentation on getting started.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
babel/preset-env
babel/preset-env` is a smart preset that allows you to use the latest JavaScript without needing to micromanage which syntax transforms (and optionally, ...
Read more >What is @babel/preset-env and why do I need it? - Jakob Lind
Let's look into what babel-preset-env really do, and why you need it. This is part 2 of my post about ... That is...
Read more >Serve modern code to modern browsers for faster page loads
@babel/preset-env groups multiple JavaScript syntax features into collections and enables/disables them based on the target browsers ...
Read more >Babel & preset-env. Compile to environments, not… - codeburst
Babel preset-env is a preset that compiles down to a minimum of ES5 ( preset-es2015 ), but can also take a browser or...
Read more >Target browsers and Node #387 - babel/babel-preset-env
... but is there a way to specify both Node and Browser targets? I haven't tried it but here's an example: { "presets":...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@rahilvora Hey, we just published our preset we’re using at Spotify https://github.com/spotify/polly-jest-presets. It’s opinionated to our use-case: writing integration tests for web apps while abstracting them from the network communication.
Feel free to give it a shot and give us feedback! We may add a browser one in the future, too.
May I try this issues?