vite-plugin-purge-icons
Advanced tools
Comparing version 0.7.0 to 0.8.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [0.8.0](https://github.com/antfu/purge-icons/compare/v0.7.0...v0.8.0) (2022-02-26) | ||
**Note:** Version bump only for package vite-plugin-purge-icons | ||
# [0.7.0](https://github.com/antfu/purge-icons/compare/v0.6.0...v0.7.0) (2021-02-17) | ||
@@ -8,0 +16,0 @@ |
@@ -1,7 +0,5 @@ | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var __assign = Object.assign; | ||
// src/index.ts | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }// src/index.ts | ||
var _rolluppluginpurgeicons = require('rollup-plugin-purge-icons'); var _rolluppluginpurgeicons2 = _interopRequireDefault(_rolluppluginpurgeicons); | ||
function createPlugin(options = {}) { | ||
const parsedOptions = __assign({ | ||
const parsedOptions = { | ||
content: [ | ||
@@ -14,7 +12,9 @@ "**/*.html", | ||
], | ||
iconifyImportName: "@iconify/iconify" | ||
}, options); | ||
return __assign({ | ||
enforce: "pre" | ||
}, _rolluppluginpurgeicons2.default.call(void 0, parsedOptions)); | ||
iconifyImportName: "@iconify/iconify", | ||
...options | ||
}; | ||
return { | ||
enforce: "pre", | ||
..._rolluppluginpurgeicons2.default.call(void 0, parsedOptions) | ||
}; | ||
} | ||
@@ -21,0 +21,0 @@ |
{ | ||
"name": "vite-plugin-purge-icons", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"main": "dist/index.js", | ||
@@ -30,5 +30,5 @@ "module": "dist/index.mjs", | ||
"dependencies": { | ||
"@purge-icons/core": "^0.7.0", | ||
"@purge-icons/generated": "^0.7.0", | ||
"rollup-plugin-purge-icons": "^0.7.0" | ||
"@purge-icons/core": "^0.8.0", | ||
"@purge-icons/generated": "^0.8.0", | ||
"rollup-plugin-purge-icons": "^0.8.0" | ||
}, | ||
@@ -39,8 +39,8 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"esno": "^0.4.3", | ||
"tsup": "^3.12.1", | ||
"typescript": "^4.1.5", | ||
"vite": "^2.0.0" | ||
"esno": "^0.4.4", | ||
"tsup": "^4.5.1", | ||
"typescript": "^4.5.5", | ||
"vite": "^2.0.4" | ||
}, | ||
"gitHead": "b4a5eab4432a9dee593ce961dcbad851c5a70701" | ||
"gitHead": "7577b0d282944efcafb8aad45f36e93a54657db0" | ||
} |
Sorry, the diff of this file is not supported yet
8082
51
+ Added@iconify/iconify@2.1.2(transitive)
+ Added@purge-icons/core@0.8.0(transitive)
+ Added@purge-icons/generated@0.8.1(transitive)
+ Addedaxios@0.26.1(transitive)
+ Addedfs-extra@10.1.0(transitive)
+ Addedrollup-plugin-purge-icons@0.8.1(transitive)
- Removed@iconify/iconify@2.0.0-rc.6(transitive)
- Removed@purge-icons/core@0.7.0(transitive)
- Removed@purge-icons/generated@0.7.0(transitive)
- Removedat-least-node@1.0.0(transitive)
- Removedaxios@0.21.4(transitive)
- Removedfs-extra@9.1.0(transitive)
- Removedrollup-plugin-purge-icons@0.7.0(transitive)
Updated@purge-icons/core@^0.8.0