Socket
Socket
Sign inDemoInstall

@dumlj/dynamic-envs-webpack-plugin

Package Overview
Dependencies
326
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @dumlj/dynamic-envs-webpack-plugin

Dynamically getting environment variables.


Version published
Weekly downloads
165
decreased by-42.51%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

License: MIT  Github Repo  NPM Version  See Docs  codecov 

Dynamic Envs Webpack Plugin

Dynamically getting environment variables.

INSTALL

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

USAGE

import { DynamicEnvsWebpackPlugin } from '@dumlj/dynamic-envs-webpack-plugin'

export default {
  // ...
  plugins: [
    new DynamicEnvsWebpackPlugin({
      'process.env.APP_ENV': JSON.stringify('development'),
    }),
  ],
}

LIVE DEMO

INTERNAL DEPENDENCIES

@dumlj/dynamic-envs-webpack-plugin
├─┬ @dumlj/inject-entry-script-webpack-plugin
│ └─┬─ @dumlj/seed-webpack-plugin
│ │ ├─┬─ @dumlj/feature-updater
│ │ │ ├─── @dumlj/shell-lib
│ │ │ ├─── @dumlj/util-lib
│ │ │ └─── @dumlj/mock-libPRIVATE
│ │ └─── @dumlj/mock-libPRIVATE
├─┬ @dumlj/seed-webpack-plugin
│ ├─┬─ @dumlj/feature-updater
│ │ ├─── @dumlj/shell-lib
│ │ ├─── @dumlj/util-lib
│ │ └─── @dumlj/mock-libPRIVATE
│ └─── @dumlj/mock-libPRIVATE
└── @dumlj/util-lib

FAQs

Last updated on 11 Mar 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc