Andrew Yang
Andrew Yang
For someone who is still looking for a webpack solution, I wrote a cli tool to quickly build a angular library based on @anjmao and @filipesilva [https://github.com/ddvkid/angular-library-cli](https://github.com/ddvkid/angular-library-cli)
Thanks! Is it ready for review?
Sure no problem :)
How can I answer a question like this? any further info?
You can try with the webpack dynamic `import`: ``` const formatDate = async (date, formatStyle, locale) => { const localeFile = await import(/* webpackChunkName: "locale-[request]" */ `date-fns/locale/${locale}`); return format(date, formatStyle,...
Tree shaking and lazy loading are different terms. Tree shaking is to exclude the unused files or scripts, I think what you are trying here is webpack code splitting, which...