wrap-legacy-hbs-plugin-if-needed
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

wrap-legacy-hbs-plugin-if-needed

Build Status

This is a module that few should need to use, so if your not sure what this is you likely dont need to care. It exists to avoid copy/pasting the code between ember/embroider/ember-cli-htmlbars.

such time as it is not longer needed, or ember provides the helper itself and all versions of ember which do not have become EOL.

Usage

yarn add wrap-legacy-hbs-plugin-if-needed
// ESModules
import wrapLegacyPluginIfNeeded from 'wrap-legacy-hbs-plugin-if-needed';
 
const wrappedIfNeededPlugin = wrapLegacyPluginIfNeeded(legacyOrModernHbsPlugin)
// CJS
const { default: wrapLegacyPluginIfNeeded } = require('wrap-legacy-hbs-plugin-if-needed');
 
const wrappedIfNeededPlugin = wrapLegacyPluginIfNeeded(legacyOrModernHbsPlugin)

Readme

Keywords

none

Package Sidebar

Install

npm i wrap-legacy-hbs-plugin-if-needed

Weekly Downloads

14,620

Version

1.0.1

License

MIT

Unpacked Size

3.26 kB

Total Files

4

Last publish

Collaborators

  • rwjblue
  • stefanpenner