Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

NilyCat/env

Repository files navigation

Nily env

Build Status

Installation

Install the library with npm install @nily/env or yarn add @nily/env

Usage

const { getEnvironment } = require('@nily/env')
const webpack = require('webpack')

new webpack.DefinePlugin(getEnvironment({
  root: __dirname,
  prefix: 'VUE_APP_'
}))

Tests

Tests are using jest, to run the tests use:

$ npm run test

MIT license