条件が逆
This commit is contained in:
@@ -220,7 +220,7 @@ export default function pluginCreateSearchIndex(options: {
|
|||||||
enforce: 'pre',
|
enforce: 'pre',
|
||||||
|
|
||||||
async buildStart() {
|
async buildStart() {
|
||||||
if (isDevServer) {
|
if (!isDevServer) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user