0.1.0-beta.0 • Published 9 months ago
@0x-jerry/unplugin-env v0.1.0-beta.0
Unplugin env
Auto generate typedef for env variables.
Install
npm i @0x-jerry/unplugin-env
Usage
Vite
// vite.config.ts
import Env from '@0x-jerry/unplugin-env/vite'
export default defineConfig({
plugins: [
Env({
/* options */
}),
],
})
Example: playground/
Webpack
// webpack.config.js
module.exports = {
/* ... */
plugins: [
require('@0x-jerry/unplugin-env/webpack')({
/* options */
}),
],
}
0.1.0-beta.0
9 months ago