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

Add internal-carto.js to transpilation process #14117

Merged
merged 4 commits into from
Jul 5, 2018

Conversation

jesusbotella
Copy link
Contributor

@jesusbotella jesusbotella commented Jun 27, 2018

As we enabled ES6 code in Carto.js, we need to transpile it when bundling internal-carto.js as well. So that I included the JS code to be transpiled by Babel in our bundling process.

⚠️ WARNING ⚠️

This PR has to be merged in conjunction with CartoDB/carto.js#2155

Copy link
Contributor

@rubenmoya rubenmoya left a comment

Choose a reason for hiding this comment

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

Looks good!

@@ -174,11 +174,14 @@ module.exports = {
test: /\.js$/,
loader: 'babel-loader',
include: [
rootDir('node_modules/tangram-cartocss'),
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice catch! 🔥

@rubenmoya rubenmoya merged commit 3905df5 into master Jul 5, 2018
@rubenmoya rubenmoya deleted the transpile-internalcartojs branch July 5, 2018 13:36
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