vite-plugin-fvtt 0.2.4 → 0.2.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.5] - 2025-09-24
4
+
5
+ ### Fixed
6
+
7
+ - `system.json` or `module.json` in root due to missing wait condition for the check not properly copying.
8
+
3
9
  ## [0.2.4] - 2025-09-23
4
10
 
5
11
  ### Changed
package/dist/index.js CHANGED
@@ -648,7 +648,7 @@ async function foundryVTTPlugin(options = { buildPacks: true }) {
648
648
  async generateBundle() {
649
649
  for (const file of ["system.json", "module.json"]) {
650
650
  const src = path.resolve(file);
651
- if (!path_utils_default.getPublicDirFile(file) && await fs_utils_default.fileExists(src)) {
651
+ if (!await path_utils_default.getPublicDirFile(file) && await fs_utils_default.fileExists(src)) {
652
652
  this.addWatchFile(src);
653
653
  const manifest = await fs_utils_default.readJson(src);
654
654
  this.emitFile({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-fvtt",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "A Vite plugin for module and system development for Foundry VTT",
5
5
  "keywords": [
6
6
  "vite",