potatejs 0.12.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index-esbuild.js +2 -2
- package/dist/index-vite.js +2 -2
- package/dist/type.d.ts +3 -0
- package/package.json +1 -1
package/dist/index-esbuild.js
CHANGED
|
@@ -13485,7 +13485,7 @@ function transformCode(source) {
|
|
|
13485
13485
|
ecmaVersion: "latest",
|
|
13486
13486
|
sourceType: "module"
|
|
13487
13487
|
});
|
|
13488
|
-
const LIBRARY_NAME = "
|
|
13488
|
+
const LIBRARY_NAME = "potatejs";
|
|
13489
13489
|
const IMPORT_NAME = "html";
|
|
13490
13490
|
let isHtmlImported = false;
|
|
13491
13491
|
for (const node of ast.body) {
|
|
@@ -13520,7 +13520,7 @@ function transformCode(source) {
|
|
|
13520
13520
|
|
|
13521
13521
|
// src/plugin/index-esbuild.js
|
|
13522
13522
|
var index_esbuild_default = (options = {}) => ({
|
|
13523
|
-
name: "
|
|
13523
|
+
name: "potatejs",
|
|
13524
13524
|
setup(build) {
|
|
13525
13525
|
build.onLoad({ filter: /\.(jsx|tsx)$/ }, async (args) => {
|
|
13526
13526
|
if (args.path.includes("node_modules")) return null;
|
package/dist/index-vite.js
CHANGED
|
@@ -13482,7 +13482,7 @@ function transformCode(source) {
|
|
|
13482
13482
|
ecmaVersion: "latest",
|
|
13483
13483
|
sourceType: "module"
|
|
13484
13484
|
});
|
|
13485
|
-
const LIBRARY_NAME = "
|
|
13485
|
+
const LIBRARY_NAME = "potatejs";
|
|
13486
13486
|
const IMPORT_NAME = "html";
|
|
13487
13487
|
let isHtmlImported = false;
|
|
13488
13488
|
for (const node of ast.body) {
|
|
@@ -13518,7 +13518,7 @@ function transformCode(source) {
|
|
|
13518
13518
|
// src/plugin/index-vite.js
|
|
13519
13519
|
function teli() {
|
|
13520
13520
|
return {
|
|
13521
|
-
name: "
|
|
13521
|
+
name: "potatejs",
|
|
13522
13522
|
enforce: "pre",
|
|
13523
13523
|
transform(code, id) {
|
|
13524
13524
|
if (!/\.(jsx|tsx)$/.test(id)) return null;
|
package/dist/type.d.ts
ADDED