@preact/preset-vite
Advanced tools
Comparing version 2.6.0 to 2.7.0
@@ -0,0 +0,0 @@ "use strict"; |
@@ -39,2 +39,13 @@ "use strict"; | ||
return { | ||
build: { | ||
rollupOptions: { | ||
onwarn(warning, warn) { | ||
// Silence Rollup's module-level directive warnings -- they're likely | ||
// to all come from `node_modules` (RSCs) and won't be actionable. | ||
if (warning.code === "MODULE_LEVEL_DIRECTIVE") | ||
return; | ||
warn(warning); | ||
}, | ||
}, | ||
}, | ||
optimizeDeps: { | ||
@@ -41,0 +52,0 @@ include: ["preact/jsx-runtime", "preact/jsx-dev-runtime"], |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Plugin } from "vite"; |
@@ -0,0 +0,0 @@ import type { Plugin } from "vite"; |
@@ -0,0 +0,0 @@ import type { CreateFilter } from "@rollup/pluginutils"; |
{ | ||
"name": "@preact/preset-vite", | ||
"version": "2.6.0", | ||
"version": "2.7.0", | ||
"description": "Preact preset for the vite bundler", | ||
@@ -47,3 +47,3 @@ "main": "./dist/cjs/index.js", | ||
"@babel/core": "7.x", | ||
"vite": "2.x || 3.x || 4.x" | ||
"vite": "2.x || 3.x || 4.x || 5.x" | ||
}, | ||
@@ -50,0 +50,0 @@ "devDependencies": { |
@@ -0,0 +0,0 @@ # @preact/preset-vite |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
24143
492