This package, `ember-cli-import-polyfill`, is an Ember CLI addon designed to backport a newer addon import API (specifically referencing Ember CLI pull request #5877) to earlier versions of Ember CLI. Ember CLI is a foundational command-line utility for managing Ember.js applications, providing a robust build pipeline, project structure conventions, and an extensible addon system. Released at version 0.2.0 and last published approximately eight years ago, this addon addressed compatibility issues during a transition period in Ember CLI's internal architecture. Its purpose was to enable addon authors to leverage newer JavaScript module APIs while maintaining backward compatibility with older host Ember CLI applications that did not natively support these module APIs. Due to its age and the natural evolution of Ember CLI, the functionality it polyfilled is now standard in modern Ember CLI versions, rendering this specific polyfill obsolete.
npm install ember-cli-import-polyfillNo compatibility data collected yet for this library.
Installs the Ember CLI addon into an existing Ember.js project via the `ember install` command, which handles package installation and blueprint generation.
For modern Ember.js applications (Ember CLI v3.x and above), simply do not install this package. The 'addon import API' it polyfilled is now standard.
Avoid symlinking this addon. If developing locally, ensure it's installed directly from a registry or a local path without symlinks. This limitation highlights its deep integration with the Ember CLI build process.
Remove `ember-cli-import-polyfill` from `package.json` and `node_modules`. Ensure your Ember CLI project is updated to a modern version that natively supports contemporary module import mechanisms.
Run `npm install ember-cli-import-polyfill` or `yarn add ember-cli-import-polyfill`. If still failing, check for symlink usage and reinstall without symlinks. Ensure `ember-cli` is also correctly installed.
This addon is designed for older Ember CLI versions. If you are on a modern Ember CLI, remove `ember-cli-import-polyfill` from your project. If you *must* use an older Ember CLI, ensure its version aligns with the polyfill's expected environment.