@teleporthq/teleport-plugin-import-statements-html
Advanced tools
Comparing version 0.19.18 to 0.19.19
@@ -49,6 +49,10 @@ "use strict"; | ||
}; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { | ||
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { | ||
if (ar || !(i in from)) { | ||
if (!ar) ar = Array.prototype.slice.call(from, 0, i); | ||
ar[i] = from[i]; | ||
} | ||
} | ||
return to.concat(ar || Array.prototype.slice.call(from)); | ||
}; | ||
@@ -126,3 +130,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
} | ||
htmlTag.children = __spreadArray(__spreadArray([], tags), htmlTag.children); | ||
htmlTag.children = __spreadArray(__spreadArray([], tags, true), htmlTag.children, true); | ||
chunks.splice(chunkIndex, 1); | ||
@@ -136,3 +140,3 @@ chunks.push(__assign(__assign({}, htmlChunk), { content: htmlTag })); | ||
exports.createHTMLImportStatementsPlugin = createHTMLImportStatementsPlugin; | ||
exports.default = exports.createHTMLImportStatementsPlugin(); | ||
exports.default = (0, exports.createHTMLImportStatementsPlugin)(); | ||
//# sourceMappingURL=index.js.map |
@@ -48,6 +48,10 @@ var __assign = (this && this.__assign) || function () { | ||
}; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { | ||
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { | ||
if (ar || !(i in from)) { | ||
if (!ar) ar = Array.prototype.slice.call(from, 0, i); | ||
ar[i] = from[i]; | ||
} | ||
} | ||
return to.concat(ar || Array.prototype.slice.call(from)); | ||
}; | ||
@@ -123,3 +127,3 @@ import { FileType, ChunkType, HTMLComponentGeneratorError, } from '@teleporthq/teleport-types'; | ||
} | ||
htmlTag.children = __spreadArray(__spreadArray([], tags), htmlTag.children); | ||
htmlTag.children = __spreadArray(__spreadArray([], tags, true), htmlTag.children, true); | ||
chunks.splice(chunkIndex, 1); | ||
@@ -126,0 +130,0 @@ chunks.push(__assign(__assign({}, htmlChunk), { content: htmlTag })); |
{ | ||
"name": "@teleporthq/teleport-plugin-import-statements-html", | ||
"version": "0.19.18", | ||
"version": "0.19.19", | ||
"description": "A plugin for handling import statements in HTML", | ||
@@ -27,7 +27,7 @@ "author": "teleportHQ", | ||
"dependencies": { | ||
"@teleporthq/teleport-plugin-common": "^0.19.18", | ||
"@teleporthq/teleport-shared": "^0.19.17", | ||
"@teleporthq/teleport-types": "^0.19.17" | ||
"@teleporthq/teleport-plugin-common": "^0.19.19", | ||
"@teleporthq/teleport-shared": "^0.19.19", | ||
"@teleporthq/teleport-types": "^0.19.19" | ||
}, | ||
"gitHead": "f286e365fd8a9936f89952ee6f84e33b192c3dc7" | ||
"gitHead": "154a51920ecfcdec93d08b9db2911a2969b61d5c" | ||
} |
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
64731
423