Skip to content

piotrjanosz/parcel-optimizer-disable-amd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parcel-optimizer-disable-amd

Disable AMD export of parcel generated modules

Background of this optimizer is the following issue: parcel-bundler/parcel#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

About

Disables usage of AMD for parcel generated js files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published