Skip to content

Plugins

Edoardo edited this page Dec 19, 2017 · 2 revisions

Available plugins are:

  • common: try to replace CommonJS require expressions and module.exports into ES6 statements
  • babel: access to Babel Standalone plugins in order to transpile non-standard syntax like JSX, Flow or Typescript(!)
  • text: convert text files into ES6 modules
  • json: convert JSON files into ES6 modules
  • env: inject environment variables passed by a configuration (browsers have not access to real env variables)
  • resolve: partial implementation of the node resolution algorithm.
Clone this wiki locally