babel-plugin-expose

1.1.3 • Public • Published

babel-plugin-expose

A babel plugin that exposes ES6 modules to global namespace.

Usage

This is a babel plugin that converts ES6 modules into global variables. To use it, just add it to your package.json and pass it as a plugin when calling babel:

babel.transform('code', {
  filename: filename,
  plugins: ['expose']
});

Package Sidebar

Install

npm i babel-plugin-expose

Weekly Downloads

2

Version

1.1.3

License

MIT

Last publish

Collaborators

  • szarouski