@uni-helper/vite-plugin-uni-pages 0.2.12 → 0.2.13
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.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -616,7 +616,7 @@ function VitePluginUniPages(userOptions = {}) {
|
|
|
616
616
|
await restart();
|
|
617
617
|
}
|
|
618
618
|
if (config.build.watch)
|
|
619
|
-
ctx.setupWatcher(chokidar__default.watch(ctx.options.dirs));
|
|
619
|
+
ctx.setupWatcher(chokidar__default.watch([...ctx.options.dirs, ...ctx.options.subPackages]));
|
|
620
620
|
}
|
|
621
621
|
},
|
|
622
622
|
// Applet do not support custom route block, so we need to remove the route block here
|
package/dist/index.d.cts
CHANGED
|
@@ -5,8 +5,8 @@ import Debug from 'debug';
|
|
|
5
5
|
import { SFCBlock, SFCDescriptor } from '@vue/compiler-sfc';
|
|
6
6
|
|
|
7
7
|
interface EasyCom {
|
|
8
|
-
autoscan
|
|
9
|
-
custom
|
|
8
|
+
autoscan?: boolean;
|
|
9
|
+
custom?: Record<string, string>;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
type RGBColor = `rgb(${number}, ${number}, ${number})`;
|
package/dist/index.d.mts
CHANGED
|
@@ -5,8 +5,8 @@ import Debug from 'debug';
|
|
|
5
5
|
import { SFCBlock, SFCDescriptor } from '@vue/compiler-sfc';
|
|
6
6
|
|
|
7
7
|
interface EasyCom {
|
|
8
|
-
autoscan
|
|
9
|
-
custom
|
|
8
|
+
autoscan?: boolean;
|
|
9
|
+
custom?: Record<string, string>;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
type RGBColor = `rgb(${number}, ${number}, ${number})`;
|
package/dist/index.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ import Debug from 'debug';
|
|
|
5
5
|
import { SFCBlock, SFCDescriptor } from '@vue/compiler-sfc';
|
|
6
6
|
|
|
7
7
|
interface EasyCom {
|
|
8
|
-
autoscan
|
|
9
|
-
custom
|
|
8
|
+
autoscan?: boolean;
|
|
9
|
+
custom?: Record<string, string>;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
type RGBColor = `rgb(${number}, ${number}, ${number})`;
|
package/dist/index.mjs
CHANGED
|
@@ -601,7 +601,7 @@ function VitePluginUniPages(userOptions = {}) {
|
|
|
601
601
|
await restart();
|
|
602
602
|
}
|
|
603
603
|
if (config.build.watch)
|
|
604
|
-
ctx.setupWatcher(chokidar.watch(ctx.options.dirs));
|
|
604
|
+
ctx.setupWatcher(chokidar.watch([...ctx.options.dirs, ...ctx.options.subPackages]));
|
|
605
605
|
}
|
|
606
606
|
},
|
|
607
607
|
// Applet do not support custom route block, so we need to remove the route block here
|
package/package.json
CHANGED