JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q27255F
  • License MIT

Package Exports

  • magefront-plugin-requirejs-config
  • magefront-plugin-requirejs-config/plugin.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (magefront-plugin-requirejs-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

magefront-plugin-requirejs-config

Merge all the requirejs-config.js files into one.

Install

npm i magefront-plugin-requirejs-config

Usage

import requireJsConfig from 'magefront-plugin-requirejs-config'

export default {
    plugins: [
        requireJsConfig()
    ]
}

Note

This is a mandatory plugin if your theme uses the Magento 2 requirejs implementation.