mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
fix: 移除可有可无代码
This commit is contained in:
parent
7a9e31d681
commit
95d5b4bcd9
@ -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
|
||||
|
@ -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']
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user