1.0.17 • Published 1 year ago

@jswork/vite-plugin-environment v1.0.17

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

vite-plugin-environment

Easily expose environment variables in Vite.

version license size download

installation

npm install @jswork/vite-plugin-environment

usage

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import vitePluginEnvironment from '@jswork/vite-plugin-environment';

// https://vitejs.dev/config/
export default defineConfig({
  envDir: 'config/environments',
  plugins: [react(), vitePluginEnvironment({ prefix: 'VITE_' })]
});

license

Code released under the MIT license.

1.0.17

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.11

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago