@caviar/dotenv-plugin

2.0.1 • Public • Published

Build Status Coverage

@caviar/dotenv-plugin

caviar plugin to support .env file.

This plugin is a sandbox plugin which only works when caviar sandbox is enabled.

Install

$ npm i @caviar/dotenv-plugin -D

Usage

.env

SITE_HOST=https://google.com

SITE_PORT=8888

config.js

const DotEnvPlugin = require('@caviar/dotenv-plugin')

module.exports = {
  caviar: {
    plugins: [
      new DotEnvPlugin()
    ],
    ...
  },
  ...
}

License

MIT

Package Sidebar

Install

npm i @caviar/dotenv-plugin

Weekly Downloads

0

Version

2.0.1

License

MIT

Unpacked Size

5.07 kB

Total Files

6

Last publish

Collaborators

  • kael