problem description
it is normal to import modules from node_modules, but the direct import dist file is undefined,
related codes
// from node_modules, work well
import Layout from "@xxx/layout-auth/dist/layout"
// from source dist, resolve to undefined
import Layout from "/User/xx...xxx/layout-auth/dist/layout"