babel-plugin-add-module-metadata

2.32.0 • Public • Published

babel-plugin-add-module-metadata

Add AMD modules' metadata to the manifest.json file.

Installation

npm install --save-dev babel-plugin-add-module-metadata

Usage

Add the following to your .babelrc file:

Without options:

{
	"plugins": ["add-module-metadata"]
}

Technical Details and Options

This plugin scans JS modules for certain patterns of code and adds metadata to the manifest.json file generated by the liferay-npm-bundler.

Such metadata may be used to describe the module prior to its load or parse.

Readme

Keywords

none

Package Sidebar

Install

npm i babel-plugin-add-module-metadata

Weekly Downloads

6,941

Version

2.32.0

License

none

Unpacked Size

12.3 kB

Total Files

7

Last publish

Collaborators

  • antonio-ortega
  • daniel.sanz
  • izaera-lr
  • edalgrin
  • pat270
  • liferay
  • bryceosterhaus
  • matuzalemteles
  • gagranta
  • p2kmgcl
  • marko.cikos
  • kresimircoko
  • wincent
  • izaera