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

Directly build to core-js without grunt-cli #106

Merged
merged 1 commit into from
Oct 19, 2015

Conversation

haydnhkim
Copy link
Contributor

I fixed core-js build process from external packages and merge it from core-js repo. (zloirock/core-js#120)
It released today (https://github.com/zloirock/core-js/releases/tag/v1.2.2) then I wrote custom build code. (https://github.com/zloirock/core-js#custom-build)
remove dependencies grunt and grunt-cli.

I hope this PR will be more easily handle core-js and solve #102 issue.

@jedwards1211
Copy link
Owner

Cool, thanks! I will test this tomorrow

@@ -34,7 +34,7 @@ var loadClientBundleLink = path.join(dirs.meteor, 'client/loadClientBundle.html'

var requireServerBundleJs = path.join(dirs.meteor, 'server/require.server.bundle.js');

require('./core-js-custom-build');
exec('node core-js-custom-build.js');

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does require not work here for some reason? I'd rather use require if possible because shelljs claims that synchronous exec can have performance problems for long-running processes. Probably not a big deal here but just makes me want to avoid synchronous exec if possible

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because before the code has inside exec ( L16 and L18 ) in core-js-custom-build.js file.
but, now core-js-custom-build.js doesn't have a exec then it does changed non-blocking code.
so, I replaced exec instead of require.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah right, makes sense. Yeah I think exec is better than going to the trouble of passing a callback from the main scripts

jedwards1211 added a commit that referenced this pull request Oct 19, 2015
Directly build to core-js without grunt-cli
@jedwards1211 jedwards1211 merged commit 06f5a3d into jedwards1211:master Oct 19, 2015
@jedwards1211
Copy link
Owner

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants