Socket
Book a DemoInstallSign in
Socket

@glomex/parcel-optimizer-disable-amd

Package Overview
Dependencies
Maintainers
12
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@glomex/parcel-optimizer-disable-amd

Disables usage of AMD for parcel generated js files.

latest
npmnpm
Version
1.0.0
Version published
Maintainers
12
Created
Source

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

Keywords

parcel

FAQs

Package last updated on 19 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts