mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore(cli): skip ts-checker info message
This commit is contained in:
parent
f964790b3e
commit
4d4959bbab
@ -3,6 +3,7 @@ import webpack from 'webpack';
|
|||||||
import FriendlyErrorsPlugin from '@nuxt/friendly-errors-webpack-plugin';
|
import FriendlyErrorsPlugin from '@nuxt/friendly-errors-webpack-plugin';
|
||||||
import { VueLoaderPlugin } from 'vue-loader';
|
import { VueLoaderPlugin } from 'vue-loader';
|
||||||
import { join } from 'path';
|
import { join } from 'path';
|
||||||
|
import { consola } from '../common/logger';
|
||||||
import { existsSync } from 'fs';
|
import { existsSync } from 'fs';
|
||||||
import { WebpackConfig } from '../common/types';
|
import { WebpackConfig } from '../common/types';
|
||||||
import {
|
import {
|
||||||
@ -58,6 +59,18 @@ if (existsSync(tsconfigPath)) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
logger: {
|
||||||
|
issues: {
|
||||||
|
// skip info message
|
||||||
|
log() {},
|
||||||
|
warn(message: string) {
|
||||||
|
consola.warn(message);
|
||||||
|
},
|
||||||
|
error(message: string) {
|
||||||
|
consola.error(message);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user