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

Simplify and pass everything through babel #4106

Merged
merged 1 commit into from Aug 9, 2018
Merged

Simplify and pass everything through babel #4106

merged 1 commit into from Aug 9, 2018

Conversation

sbrunner
Copy link
Member

@sbrunner sbrunner commented Aug 8, 2018

No description provided.

@sbrunner sbrunner requested a review from fredj August 8, 2018 12:30
@gberaudo gberaudo changed the title Simplify and pass everything throw babel Simplify and pass everything through babel Aug 9, 2018
Copy link
Member

@gberaudo gberaudo left a comment

Choose a reason for hiding this comment

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

Does this change have an impact on sourcemaps?

@@ -40,6 +40,8 @@
"async": "2.6.1",
"babel-core": "6.26.3",
"babel-loader": "7.1.5",
"babel-plugin-transform-es2015-spread": "6.22.0",
"babel-plugin-transform-object-rest-spread": "6.26.0",
Copy link
Member

Choose a reason for hiding this comment

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

I think these plugins are not necessary. babel presets env should already handle this.

test: /olcs\/.*\.js$/,

const otherRule = {
test: /\/node_modules\/(?!ngeo\/|angular\/).*\.js$/,
Copy link
Member

Choose a reason for hiding this comment

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

Why do you pass node_modules in some cases an in other cases not?

@sbrunner sbrunner force-pushed the simplify branch 3 times, most recently from e355f33 to e1d545a Compare August 9, 2018 12:05
@sbrunner sbrunner merged commit 14bb49b into master Aug 9, 2018
@sbrunner sbrunner deleted the simplify branch August 9, 2018 12:28
@sbrunner sbrunner added this to the 2.4 milestone Oct 30, 2018
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.

None yet

3 participants