@teleporthq/teleport-plugin-import-statements-html
Advanced tools
Comparing version 0.32.0-alpha.0 to 0.32.0
@@ -11,3 +11,3 @@ import { component, elementNode } from '@teleporthq/teleport-uidl-builders' | ||
fileType: FileType.HTML, | ||
name: 'html-template', | ||
name: 'html-chunk', | ||
content: { | ||
@@ -14,0 +14,0 @@ type: 'element', |
@@ -28,3 +28,3 @@ "use strict"; | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
while (g && (g = 0, op[0] && (_ = 0)), _) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
@@ -71,3 +71,3 @@ if (y = 0, t) op = [op[0] & 2, t.value]; | ||
htmlChunk = chunks.find(function (chunk, index) { | ||
if (chunk.name === 'html-template' && | ||
if (chunk.name === 'html-chunk' && | ||
chunk.type === teleport_types_1.ChunkType.HAST && | ||
@@ -74,0 +74,0 @@ chunk.fileType === teleport_types_1.FileType.HTML) { |
@@ -27,3 +27,3 @@ var __assign = (this && this.__assign) || function () { | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
while (g && (g = 0, op[0] && (_ = 0)), _) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
@@ -68,3 +68,3 @@ if (y = 0, t) op = [op[0] & 2, t.value]; | ||
htmlChunk = chunks.find(function (chunk, index) { | ||
if (chunk.name === 'html-template' && | ||
if (chunk.name === 'html-chunk' && | ||
chunk.type === ChunkType.HAST && | ||
@@ -71,0 +71,0 @@ chunk.fileType === FileType.HTML) { |
{ | ||
"name": "@teleporthq/teleport-plugin-import-statements-html", | ||
"version": "0.32.0-alpha.0", | ||
"version": "0.32.0", | ||
"description": "A plugin for handling import statements in HTML", | ||
@@ -27,7 +27,7 @@ "author": "teleportHQ", | ||
"dependencies": { | ||
"@teleporthq/teleport-plugin-common": "^0.32.0-alpha.0", | ||
"@teleporthq/teleport-shared": "^0.32.0-alpha.0", | ||
"@teleporthq/teleport-types": "^0.32.0-alpha.0" | ||
"@teleporthq/teleport-plugin-common": "^0.32.0", | ||
"@teleporthq/teleport-shared": "^0.32.0", | ||
"@teleporthq/teleport-types": "^0.32.0" | ||
}, | ||
"gitHead": "de47527436cc4f1d00f241718fbdfdb86e616e3b" | ||
"gitHead": "08e6b6b0a6328cdbf86891871be39a377450a084" | ||
} |
@@ -17,3 +17,3 @@ import { | ||
if ( | ||
chunk.name === 'html-template' && | ||
chunk.name === 'html-chunk' && | ||
chunk.type === ChunkType.HAST && | ||
@@ -20,0 +20,0 @@ chunk.fileType === FileType.HTML |
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
86123