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

[FEATURE] BundleBuilder: support modules using ES6 with usePredefineCalls #67

Merged
merged 1 commit into from
Aug 4, 2018

Conversation

petermuessig
Copy link
Contributor

When using the bundle option usePredefineCalls modules using ES6
features such as arrow functions, classes, ... are not supported
and the bundler will break as the mozilla-ast of uglify-es is not
ES6 ready.

…alls

When using the bundle option usePredefineCalls modules using ES6
features such as arrow functions, classes, ... are not supported
and the bundler will break as the mozilla-ast of uglify-es is not
ES6 ready.
@CLAassistant
Copy link

CLAassistant commented Jul 27, 2018

CLA assistant check
All committers have signed the CLA.

@petermuessig
Copy link
Contributor Author

@codeworrior any objections on the pull request - the performance decrease IMO can be ignored for the moment until we have a better solution. Using it on a trivial library shows code generation times of about 0-3 ms for standard library resources!

@codeworrior
Copy link
Member

I did some measurements (ui5 build --all)

Project before PR with PR
openui5-sample-app 0:52 0:52
openui5/testsuite 3:58 4:05

Neglectable, I would say.

@petermuessig petermuessig merged commit d1a4f1f into master Aug 4, 2018
@petermuessig petermuessig deleted the feature-es6bundling branch August 4, 2018 20:48
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.

3 participants