chore: 修改 esm 为 es 包

This commit is contained in:
就眠儀式
2022-04-23 23:44:18 +08:00
parent c9ceb42b46
commit 97e06993b6
3 changed files with 29 additions and 17 deletions

View File

@@ -324,7 +324,7 @@ export interface LayuiVueResolverOptions {
const libRE = /^Lay[A-Z]/;
const layerRE = /^(layer|LayLayer)$/;
const iconsRE = /^([A-Z][\w]+Icon|LayIcon)$/;
const esComponentsFolder = "@layui/layui-vue/esm";
const esComponentsFolder = "@layui/layui-vue/es";
function lowerCamelCase(str: string) {
return str.charAt(0).toLowerCase() + str.slice(1);