gulp-community / gulp-wrap-umd Goto Github PK
View Code? Open in Web Editor NEWWrap files with an UMD wrapper
License: MIT License
Wrap files with an UMD wrapper
License: MIT License
Could you please add support for gulp sourcemaps (https://www.npmjs.com/package/gulp-sourcemaps)
Apologize for this non-bug issue, but I had a question.
gulp-wrap-umd is the only UMD wrapper I could find that supports namespaced global alias and and allows extended aliased externalization of dependencies.
I would like to use the functionality in a project where I don't use gulp, and was wondering if the functionality of this plugin was available as a standalone module, with or without command line api, which I will could with in my workflow.
If no such version is planned, would you happen to know any standalone module that already does this?
In 0.2.0, the params
option was deprecated in favor of the extended deps config. Remove this option in a future version.
So I do realize that this is webpack's fault, but at the same time it's a very common option these days and I feel like it would be a nice benefit if the wrapper worked seamlessly when integrated into a webpack pipeline.
When you try to load a plugin with a umd wrapper into webpack it generates the warning: require function is used in a way in which dependencies cannot be statically extracted
. There is a plugin that briefly explains why and fixes this.
This plugin needs to be updated to not buffer a stream, switch from event-stream and remove node 0.8 compat.
You can also export a dependency to work globally: https://github.com/umdjs/umd/blob/master/returnExportsGlobal.js
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.