@preact/preset-vite
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -32,3 +32,3 @@ "use strict"; | ||
var _b = _a === void 0 ? {} : _a, _c = _b.injectInProd, injectInProd = _c === void 0 ? false : _c; | ||
var log = debug_1["default"]("vite:preact-devtools"); | ||
var log = (0, debug_1["default"])("vite:preact-devtools"); | ||
var entry = ""; | ||
@@ -52,3 +52,3 @@ var config; | ||
found = true; | ||
entry = vite_1.normalizePath(path_1["default"].join(config.root, id)); | ||
entry = (0, vite_1.normalizePath)(path_1["default"].join(config.root, id)); | ||
// TODO: Vite types require explicit return | ||
@@ -55,0 +55,0 @@ // undefined here. They're lacking the "void" type |
@@ -60,3 +60,3 @@ "use strict"; | ||
} | ||
return [4 /*yield*/, core_1.transformAsync(code, { | ||
return [4 /*yield*/, (0, core_1.transformAsync)(code, { | ||
plugins: ["babel-plugin-transform-hook-names"], | ||
@@ -63,0 +63,0 @@ filename: id, |
@@ -31,7 +31,7 @@ "use strict"; | ||
}, | ||
devtools_js_1.preactDevtoolsPlugin({ injectInProd: devtoolsInProd }), | ||
vite_1["default"](), | ||
hook_names_js_1.hookNamesPlugin(), | ||
(0, devtools_js_1.preactDevtoolsPlugin)({ injectInProd: devtoolsInProd }), | ||
(0, vite_1["default"])(), | ||
(0, hook_names_js_1.hookNamesPlugin)(), | ||
]; | ||
} | ||
exports["default"] = preactPlugin; |
{ | ||
"name": "@preact/preset-vite", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "Preact preset for the vite bundler", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
19661
0