Comments (1)
We could potentially copy the approach of this template: https://explore.postman.com/templates/7170/browserify-cdn-modules.
Look at the collection pre-request script. We can make it a bit less complex by assuming variables are only at the collection level and assuming variable values are already populated (because we own Browserify bundling in this case).
We'd have to alter each script that has dependencies to be prefixed with:
new Function(pm.variables.get('init'))(pm);
But it's less intrusive than the raw Browserify bundle.
from postman-local.
Related Issues (15)
- Clean up sync.js
- Sync request/response data
- `clone` improvements
- Support operations for other Postman functionality
- Issues when syncing the changes HOT 6
- postman boostrap failing in mapItemToFile HOT 5
- postman env error when no environments have been defined HOT 1
- Autogenerate blank test scripts HOT 1
- Create documentation for basic file structure of a Postman collection after importing into directory
- Unable to import environment other than localhost HOT 4
- Unhandled Promise rejection on setup when no environments exist.
- Built-in libraries from the Postman Sandbox aren't included when running postman sync.
- Error when adding scripts to a request previously bootstrapped with none.
- Enable 2-way sync HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postman-local.