@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.
- package/dist/index.mjs +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) {
|