From efc88c5c347964cb30aa4cb5adbf681739e36719 Mon Sep 17 00:00:00 2001 From: gavinning Date: Thu, 15 Jul 2021 21:14:08 +0800 Subject: [PATCH] 4.0.0 --- package.json | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b022d71..aaca9c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@4a/env", - "version": "3.0.2", + "version": "4.0.0", "description": "环境变量管理", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/readme.md b/readme.md index 41280d3..ba2212b 100644 --- a/readme.md +++ b/readme.md @@ -11,7 +11,7 @@ npm i @4a/env ```js // process.env.NODE_ENV = 'preview' -const AppEnv = require('@4a/env') +const AppEnv = require('@4a/env').default const appEnv = new AppEnv(process.env.NODE_ENV) module.exports = appEnv