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

vite-plugin-ts

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-ts - npm Package Compare versions

Comparing version 1.3.0 to 1.3.2

13

index.js

@@ -52,2 +52,8 @@ const fs = require('fs')

config(config) {
const optionsApi = config.define
? config.define.__VUE_OPTIONS_API__
: undefined
const devTools = config.define
? config.define.__VUE_PROD_DEVTOOLS__
: undefined
return {

@@ -58,5 +64,4 @@ // jsx and tsx? are handled by this plugin

define: {
__VUE_OPTIONS_API__: true,
__VUE_PROD_DEVTOOLS__: false,
...config.define
__VUE_OPTIONS_API__: optionsApi != null ? optionsApi : true,
__VUE_PROD_DEVTOOLS__: devTools != null ? devTools : false
}

@@ -93,3 +98,3 @@ }

const filter = createFilter(include || /\.(jsx|tsx?)$/, exclude)
const filter = createFilter(include || /\.(jsx|tsx?)(\?worker_file)?$/, exclude)

@@ -96,0 +101,0 @@ if (filter(id)) {

{
"name": "vite-plugin-ts",
"version": "1.3.0",
"version": "1.3.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": "Evan You",

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