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

fix(build): add missing presets for babel #144

Merged
merged 2 commits into from
May 22, 2019

Conversation

mariobuikhuizen
Copy link
Member

@mariobuikhuizen mariobuikhuizen commented May 20, 2019

In commit e6d4504 babel-loader was replaced, thereby removing the presets. Without presets babel will not transform and polyfill the source code.

Commit e6d4504 also creates a directory "src" which is ignored in .gitignore and it introduces a build folder "lib" which should be ignored in .gitignore.

@maartenbreddels
Copy link
Member

Great, I forgot to commit babel.config.js, and babel didn't complain about that. It now actually transpiles :)

I must say, given that typescript does not help with polyfills nor does it want to support it microsoft/TypeScript#20095 I'm giving babel a +1 over ts.

@maartenbreddels maartenbreddels merged commit e8f1a00 into voila-dashboards:master May 22, 2019
@mariobuikhuizen mariobuikhuizen deleted the fixBabel branch May 24, 2019 21:43
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