Skip to content

Commit

Permalink
4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinning committed Jul 15, 2021
1 parent 04a1b36 commit efc88c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efc88c5

Please sign in to comment.