fix: 移除可有可无代码

This commit is contained in:
winixt 2021-11-18 14:58:18 +08:00
parent 7ddf1b7aff
commit f715682ccd
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ export default (api) => {
api.addEntryImportsAhead(() => [{ source: 'windi.css' }]);
api.chainWebpack((memo) => {
memo.plugin('windicss').before('vue-loader-plugin').use(WindiCSSWebpackPlugin, [
memo.plugin('windicss').use(WindiCSSWebpackPlugin, [
{
config: resolve(__dirname, '../windi.config.js'),
...api.config.windicss

View File

@ -1,7 +1,7 @@
export default {
extract: {
// A common use case is scanning files from the root directory
include: ['**/*.{vue,jsx,tsx}'],
include: ['**/*.{vue,jsx,js,ts,tsx}'],
// if you are excluding files, make sure you always include node_modules and .git
exclude: ['node_modules', '.git', 'dist']
}