override-mapping-webpack-plugin-pwa-studio

1.0.1 • Public • Published

Override Mapping Webpack Plugin

This plugin is used on PWA Studio project. It helps you to override components/files.

Usage

    npm i override-mapping-webpack-plugin-pwa-studio

Import it as a new plugin on your webpack.config.js file.

const OverrideMappingPlugin = require('override-mapping-webpack-plugin-pwa-studio');

clientConfig.plugins.push(new OverrideMappingPlugin({
    // Insert here the map that you need to override. It will be like this:
    '@magento/venia-ui/lib/components/Header/header.css': 'src/lib/components/Header/header.css',
}));

Readme

Keywords

none

Package Sidebar

Install

npm i override-mapping-webpack-plugin-pwa-studio

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

2.97 kB

Total Files

3

Last publish

Collaborators

  • luanperosa