vite-file-include 1.0.2 → 1.0.3
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.
- package/README.md +0 -4
- package/package.json +8 -3
package/README.md
CHANGED
|
@@ -206,10 +206,6 @@ Below is an example of how you might structure your HTML files using the plugin'
|
|
|
206
206
|
|
|
207
207
|
If there is an error parsing JSON data or including a file, the plugin will log a detailed error message to the console. This helps in debugging while ensuring that your build process continues without interruption.
|
|
208
208
|
|
|
209
|
-
## Caching
|
|
210
|
-
|
|
211
|
-
The plugin implements a caching mechanism to improve performance, especially for larger projects with many includes. Cached content is automatically invalidated after the specified `cacheTimeout`.
|
|
212
|
-
|
|
213
209
|
## License
|
|
214
210
|
|
|
215
211
|
This project is licensed under the MIT License. See the LICENSE file for more details.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-file-include",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "A Vite plugin for file inclusion, loops, and conditionals in HTML files",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -15,11 +15,16 @@
|
|
|
15
15
|
],
|
|
16
16
|
"author": "Ahmed Abdulgid",
|
|
17
17
|
"license": "MIT",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/abdulgidcoder/vite-file-includ.git"
|
|
21
|
+
},
|
|
18
22
|
"peerDependencies": {
|
|
19
23
|
"vite": "^4.0.0"
|
|
20
24
|
},
|
|
21
25
|
"dependencies": {
|
|
22
26
|
"fs": "0.0.1-security",
|
|
23
|
-
"path": "^0.12.7"
|
|
27
|
+
"path": "^0.12.7",
|
|
28
|
+
"vite-file-include": "^1.0.2"
|
|
24
29
|
}
|
|
25
|
-
}
|
|
30
|
+
}
|