Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-optimize

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-optimize

The default blueprint for ember-cli addons.

  • 0.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by500%
Maintainers
2
Weekly downloads
 
Created
Source

Ember-cli-optimize

Faster JS File parse/eval. Similar to optimize-js but configurable. Allowing the developer to choose which module should be lazy, and which should be eager.

Why is this configuration important? There is overhead to eager parsing all modules, but if a module is executed immediately that overhead is non-optional. Alternatively a module can be "pre-parsed" which is much more efficient, unfortunately if that module is "pre-parsed" and then immediately invoked it will then also be fully parsed, essentially duplicating work.

Examples of Lazy and Eager modules:

  • lazy modules are ones not typically required by initial boot, but still part of the man bundle. An example would be a component not required during initial render.
  • eager modules (to be preparsed) are modules that are always required on app boot. Such as app/app or app/templtes/application

Installation

  • ember install ember-cli-optimize

Contributing to this addon

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://ember-cli.com/.

Keywords

FAQs

Package last updated on 21 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc