@glomex/parcel-optimizer-disable-amd

1.0.0 • Public • Published

parcel-optimizer-disable-amd

Disable AMD export of parcel generated modules

Background of this optimizer is the following issue: https://github.com/parcel-bundler/parcel/pull/2781.

Prevents to stop execution when parcel bundled modules are placed on sites which use an AMD loader.

Usage

// .parcelrc
{
  "extends": "@parcel/config-default",
  "optimizers": {
    "*.js": ["@parcel/optimizer-terser", "@glomex/parcel-optimizer-disable-amd"]
  }
}

License

Apache 2.0 License

Package Sidebar

Install

npm i @glomex/parcel-optimizer-disable-amd

Weekly Downloads

19

Version

1.0.0

License

Apache-2.0

Unpacked Size

31.8 kB

Total Files

31

Last publish

Collaborators

  • dvselas
  • klipstein
  • maxbanton
  • okinash
  • hrb-d
  • xazzzi
  • nerdbeere
  • diablero13