Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vite-plugin-env-compatible

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-env-compatible - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4-dev.1

6

dist/index.js

@@ -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({

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc