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.
// .parcelrc
{
"extends": "@parcel/config-default",
"optimizers": {
"*.js": ["@parcel/optimizer-terser", "@glomex/parcel-optimizer-disable-amd"]
}
}