@dumlj/compare-envs-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

2.5.26 • Public • Published

License: MIT  Github Repo  NPM Version  See Docs  codecov 

Compare Envs Webpack Plugin

Check whether the contents of dotenv files are consistent.

INSTALL

# use npm
$ npm install --dev @dumlj/compare-envs-webpack-plugin
# use yarn
$ yarn add --dev @dumlj/compare-envs-webpack-plugin
# use pnpm
$ pnpm add @dumlj/compare-envs-webpack-plugin -D

USAGE

import { CompareEnvsWebpackPlugin } from '@dumlj/compare-envs-webpack-plugin'

export default {
  // ...
  plugins: [
    new CompareEnvsWebpackPlugin({
      compare: ['dotenv/*.env'],
    }),
  ],
}

LIVE DEMO

Please pay attention to the console error message.

INTERNAL DEPENDENCIES

@dumlj/compare-envs-webpack-plugin
├─┬ @dumlj/seed-webpack-plugin
│ ├─┬─ @dumlj/feature-updater
│ │ ├─── @dumlj/shell-lib
│ │ ├─── @dumlj/util-lib
│ │ └─── @dumlj/mock-libPRIVATE
│ └─── @dumlj/mock-libPRIVATE
└── @dumlj/feature-dotenv

Readme

Keywords

none

Package Sidebar

Install

npm i @dumlj/compare-envs-webpack-plugin

Weekly Downloads

263

Version

2.5.26

License

MIT

Unpacked Size

60 kB

Total Files

25

Last publish

Collaborators

  • cjfff
  • sexymee
  • davidjones