Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack loader #11

Closed
icodeforlove opened this issue Jul 27, 2016 · 0 comments
Closed

Webpack loader #11

icodeforlove opened this issue Jul 27, 2016 · 0 comments

Comments

@icodeforlove
Copy link
Owner

At the moment you will get an error if you try to use webpack to pull in the node version.

This happens because the node version has a require('os') in it to get defaults.

Need to figure out if we can defer loading of this module.

module.exports = function () {
    let os = require('os');
    return ...;
};

This is a hack but it rarely gets run in most situations (initially, and every-time .defaults is ran)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant