Nineties Pop Music

    webpack-deduplication-plugin
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.8 • Public • Published

    Webpack Deduplication Plugin

    Plugin for webpack that de-duplicates transitive dependencies in yarn and webpack-based projects.

    Usage

    Import it from the package

    const { WebpackDeduplicationPlugin } = require('webpack-deduplication-plugin');
    

    And add it to your webpack config:

    plugins: [
        new WebpackDeduplicationPlugin({
            cacheDir: cacheDirPath,
            rootPath: rootPath,
        }),
    ]
    

    where:

    • cacheDirPath - absolute path to the directory where the cache of the duplicates will be stored. Cache is based on the content of yarn.lock file and will be updated with every change. If not provided then the duplicates will be re-generated with every run.
    • rootPath - absolute path to the root of the project. If not provided it will be auto-detected by app-root-path plugin

    Development

    TBD

    Contributions

    Contributions to Webpack Deduplication Plugin are welcome! Please see CONTRIBUTING.md for details.

    License

    Copyright (c) 2020 Atlassian and others. Apache 2.0 licensed, see LICENSE file.


    With ❤️ from Atlassian

    Install

    npm i webpack-deduplication-plugin

    DownloadsWeekly Downloads

    2,802

    Version

    0.0.8

    License

    Apache-2.0

    Unpacked Size

    90.4 kB

    Total Files

    26

    Last publish

    Collaborators

    • marcins
    • nmakarevich
    • vchan
    • sjaatinen
    • internetofsteve