@4c/envy 中文文档教程
@4c/envy
import * as Envy from '@4c/envy`
Envy.get('NODE_ENV') // 'production'
Envy.get('NOT_SET_VAR') // Error
Envy.get('NOT_SET_VAR', 'default_value') // 'default_value'
Envy.load('test') // adds variables-test.env to process.env
Envy.define('test') // returns variables-test.env mapped to an object keyed by process.env.[foo] for use in webpack
@4c/envy
import * as Envy from '@4c/envy`
Envy.get('NODE_ENV') // 'production'
Envy.get('NOT_SET_VAR') // Error
Envy.get('NOT_SET_VAR', 'default_value') // 'default_value'
Envy.load('test') // adds variables-test.env to process.env
Envy.define('test') // returns variables-test.env mapped to an object keyed by process.env.[foo] for use in webpack
更多
你可能也喜欢
- @2hats/react-native-photo-view 中文文档教程
- @36node/eslint-config 中文文档教程
- @3m1/service-worker-updater 中文文档教程
- @7-eleven/component-kits 中文文档教程
- @8base-react/crud 中文文档教程
- @a8k/plugin-sb-react 中文文档教程
- @aacassandra/image-loader 中文文档教程
- @aakagi/datetimepicker 中文文档教程
- @aaronbassett/netlify-plugin-development 中文文档教程
- @ab-inbev-z-tech/fintech-identity 中文文档教程