chore: 修改 es 为 esm 包

This commit is contained in:
就眠儀式
2022-04-23 22:42:47 +08:00
parent 09ea8472ab
commit c9ceb42b46
4 changed files with 5 additions and 75 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/es";
const esComponentsFolder = "@layui/layui-vue/esm";
function lowerCamelCase(str: string) {
return str.charAt(0).toLowerCase() + str.slice(1);