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

different ember-cli-babel configuration #987

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NullVoxPopuli
Copy link
Owner

@NullVoxPopuli NullVoxPopuli commented Jul 1, 2020

Experimenting with different build options

compileModules: false
'ember-cli-babel': {
  compileModules: false,
}

image

May need to be ran through Rollup or something to inline the imported modules

disableDebugTooling: true

Initial Build:

Build successful (21207ms) – Serving on https://0.0.0.0:4201/

Slowest Nodes (totalTime >= 5%)                               | Total (avg)    
--------------------------------------------------------------+----------------
Bundler (1)                                                   | 9011ms         
BroccoliRollup (6)                                            | 4482ms (747 ms)
ember-auto-import-analyzer (14)                               | 2628ms (187 ms)

And the default:

Build successful (22409ms) – Serving on https://0.0.0.0:4201/

Slowest Nodes (totalTime >= 5%)                               | Total (avg)    
--------------------------------------------------------------+----------------
Bundler (1)                                                   | 9388ms         
BroccoliRollup (6)                                            | 4743ms (790 ms)
ember-auto-import-analyzer (14) 

Note: this is not a meaningful benchmark because I only ran each scenario once, and my laptop was not to provide a meaningful control due to being resource constrained even during normal non-development usage.

includePolyfill: false

No difference in output for the current browserlist:

  "browserslist": [
    "> 3%",
    "not IE 11"
  ],

@github-actions
Copy link

github-actions bot commented Jul 1, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant