chore: typo (#584)

* fix: 变量名错误

* fix: 修复正则可以匹配纯数字问题
This commit is contained in:
江麻妞
2021-05-11 18:56:38 +08:00
committed by GitHub
parent ae3f8329c2
commit a7c8c67c83
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ import styleImport from 'vite-plugin-style-import';
export function configStyleImportPlugin(isBuild: boolean) {
if (!isBuild) return [];
const pwaPlugin = styleImport({
const styleImportPlugin = styleImport({
libs: [
{
libraryName: 'ant-design-vue',
@@ -18,5 +18,5 @@ export function configStyleImportPlugin(isBuild: boolean) {
},
],
});
return pwaPlugin;
return styleImportPlugin;
}