vite-plugin-env-compatible
Advanced tools
Comparing version 0.0.3 to 0.0.4-dev.1
@@ -200,9 +200,5 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var __create = Object.create; | ||
return { | ||
name: "env-compatible", | ||
name, | ||
enforce: "pre", | ||
config(config, {mode}) { | ||
if (!mode) { | ||
console.log(`[$${name}]: mode is undefined, cannot auto load .env.*, please check your bin/vite_dev script for --mode`); | ||
process.exit(1); | ||
} | ||
const root = config.root || process.cwd(); | ||
@@ -209,0 +205,0 @@ const env = loadEnv({ |
{ | ||
"name": "vite-plugin-env-compatible", | ||
"version": "0.0.3", | ||
"version": "0.0.4-dev.1", | ||
"description": "Environment Variables Compatible", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10636
243