vite-plugin-lucide-preprocess 1.4.7 → 1.4.8

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.
Files changed (2) hide show
  1. package/README.md +1 -3
  2. package/package.json +13 -2
package/README.md CHANGED
@@ -5,12 +5,10 @@
5
5
  [![NPM Type Definitions](https://npmx.dev/api/registry/badge/types/vite-plugin-lucide-preprocess)](https://www.npmx.dev/package/vite-plugin-lucide-preprocess)
6
6
  [![NPM License](https://npmx.dev/api/registry/badge/license/vite-plugin-lucide-preprocess)](LICENSE)
7
7
 
8
- A [Vite](https://vite.dev) plugin to replace imports for [Lucide icons](https://lucide.dev).
8
+ A [Vite](https://vite.dev) plugin to tree-shake your [Lucide icons](https://lucide.dev).
9
9
 
10
10
  ## What is this?
11
11
 
12
- ### Motivation
13
-
14
12
  If you want to import Lucide icons in your project, you can (usually — depending on
15
13
  the package) use two methods:
16
14
 
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "vite-plugin-lucide-preprocess",
3
- "version": "1.4.7",
3
+ "description": "A Vite plugin to tree-shake your Lucide icons.",
4
+ "version": "1.4.8",
4
5
  "author": {
5
6
  "url": "https://github.com/WarningImHack3r",
6
7
  "name": "WarningImHack3r"
@@ -28,7 +29,17 @@
28
29
  "!dist/**/*.spec.*"
29
30
  ],
30
31
  "peerDependencies": {
31
- "vite": ">=5"
32
+ "vite": ">=2",
33
+ "rollup": ">=1",
34
+ "rolldown": ">=0.1"
35
+ },
36
+ "peerDependenciesMeta": {
37
+ "rollup": {
38
+ "optional": true
39
+ },
40
+ "rolldown": {
41
+ "optional": true
42
+ }
32
43
  },
33
44
  "dependencies": {
34
45
  "magic-string": "^0.30.0"