mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
chore(cli): skip ts-checker info message
This commit is contained in:
@@ -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);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user