vite-plugin-cdn-import
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -58,3 +58,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var __defProp = Object.defineProperty; | ||
transformIndexHtml(html) { | ||
return html.replace(/<\/head>/i, `${data.map((v) => `<script src="${v.url}"></script>`).join("")}</head>`); | ||
return html.replace(/<\/title>/i, `</title>${data.map((v) => `<script src="${v.url}"></script>`).join("")}`); | ||
} | ||
@@ -61,0 +61,0 @@ }, |
{ | ||
"name": "vite-plugin-cdn-import", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "CDN extension for the vite plugin", | ||
@@ -5,0 +5,0 @@ "main": "dist/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
8845