@vixt/core 0.1.32 → 0.1.33

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/dist/index.mjs +2 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -177,8 +177,8 @@ const config = defineVixtModule({
177
177
  configureServer(server) {
178
178
  const mode = server.config.mode;
179
179
  const watchFiles = [];
180
- const configFiles = vixt._layers.map((layer) => layer.configFile);
181
- const modulesDirs = vixt._layers.map((layer) => path.resolve(layer.config.srcDir, "modules"));
180
+ const configFiles = vixt._layers.map((layer) => layer.configFile).filter((e) => !e.includes("node_modules"));
181
+ const modulesDirs = vixt._layers.map((layer) => path.resolve(layer.config.srcDir, "modules")).filter((e) => !e.includes("node_modules"));
182
182
  watchFiles.push(...configFiles, ...modulesDirs);
183
183
  const workspaceManifestLocation = findUpSync(["pnpm-workspace.yaml", "pnpm-workspace.yml"]);
184
184
  if (workspaceManifestLocation) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixt/core",
3
3
  "type": "module",
4
- "version": "0.1.32",
4
+ "version": "0.1.33",
5
5
  "author": "SoulLyoko<https://github.com/SoulLyoko>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/SoulLyoko/vixt#readme",