@wmrjs/nomodule

0.2.0 • Public • Published

@wmr-plugins/nomodule

WMR outputs modern JavaScript bundles by default. This plugin creates legacy versions of your bundles using @babel/preset-env and serves those versions to older browsers.

New browsers get the new stuff, old browsers get the old stuff.

Usage

Add this to your wmr.config.js:

import nomodule from '@wmr-plugins/nomodule';

export function build(config) {
	nomodule(config);
}

Readme

Keywords

none

Package Sidebar

Install

npm i @wmrjs/nomodule

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

7.09 kB

Total Files

5

Last publish

Collaborators

  • jdecroock
  • developit
  • marvinhagemeister