powmedia / buildify Goto Github PK
View Code? Open in Web Editor NEWBuilder for creating distributable JavaScript files from source. Concatenate, wrap, uglify.
License: MIT License
Builder for creating distributable JavaScript files from source. Concatenate, wrap, uglify.
License: MIT License
In 2017 this commit replaced the use of uglify-js
by uglify-es
: a14c305
However it has not been released and the latest version of buildify
on npm registry, v0.4.0, still uses [email protected]
.
Moreover, GitHub security alerts detect that uglify-js
should be used in version 2.6.0 or higher to avoid 2 vulnerabilities : CVE-2015-8857 & CVE-2015-8858
Hence, could you please publish a new version on npm registry to solve this security alert ?
The HTML5 App Cache feature is usually associated with the ability of offline capability but in my opinion the strongest capability this brings is fast (really fast) app start up. That's especially important on mobile and brings Web Apps closer to parity with Native Apps.
I haven't found this around anywhere yet but I think it's an obvious killer feature.
It would provide a configurable way to walk through the build source tree and generate the manifest (or part of it).
It would also update the tag to reference the manifest.
It would be configurable in terms what to include/exclude, insert a version number and all that sort of stuff.
This would be great!
Buildify covers what I typically need when building a library very well: concat, wrap, minify, etc. Building is not that complicated and I really like the minimalistic though flexible and powerful approach of Buildify.
However one feature that is really useful to me is tasks, so I can modularize my build process (have tasks like build, minify, test), so I have a way to only execute a part of it via the command line.
I'm not sure if and how tasks would fit in Buildify. Any thoughs on this?
Hi
I get parse error with the following line:
for (var element of markdownDivs) {
Part of ECMAScript2015 http://stackoverflow.com/questions/3010840/loop-through-an-array-in-javascript
Hey! Great little tool, thanks! Just wondered if you could bump the version number and publish to npm? Currently the version on npm is 0.2.0 (same as the master branch) but is missing the clean-css commits.
Just to make deploying to heroku a little easier :)
Cheers!
Came here to say that this library is beautiful. Thank you for your work. It helped me a lot. This is not really an issue though :)
It would be very powerful when you could concatenate all files or a filtered set of files with buildify at once, something like:
var buildify = require('buildify');
buildify()
.concat('./src/*.js')
.wrap('../lib/template.js', { version: '1.0' })
.save('../distribution/output.js')
.uglify()
.save('../distribution/output.min.js');
The functionality offered by the module fileset comes very close, though fileset works asynchronously.
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.