Giter Club home page Giter Club logo

folio's Issues

Incorrect use of call in Glossary.prototype.root

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;
};

File ordering

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.

Uglify-js in 0.2.X version

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.