logicalparadox / folio Goto Github PK
View Code? Open in Web Editor NEWTiny static javascript build and serve utility.
Tiny static javascript build and serve utility.
As the module sits right now, the call to .root(__dirname, '..')
will result in:
path.js:7
throw new TypeError('Path must be a string. Received ' + inspect(path));
^
TypeError: Path must be a string. Received [ '<path>', '..' ]
The fix is:
Glossary.prototype.root = function () {
const args = Array.prototype.slice.call(arguments);
this._attrs.root = path.resolve.apply(path, args);
return this;
};
I am having some troube when minifying with folio 0.2.x ( i am not using 0.3.x because your advice)
The problem disappear when upgrading Uglify-js from 1.2.x to 1.3.x
I have forked your project beacause of that ( i cant pullrequest to your tag 0.2.1 tag, i think you need to have a branch for that)
Anyways my branch
https://github.com/inaes-tic/folio/tree/newer_uglify
We're distributing the compiled chai.js in Konacha, and we're getting massive diffs, presumably because the ordering of the included files is random. I'm assuming that
.dir('./lib')
is the culprit. I can't find the right place in folio to fix this, but IMO it could and should just sort everything alphabetically, rather than relying on file system order.
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.