Remember vite2 X packaging optimization process
backgroundThe latest requirement is to embed h5 in the client webview and use vite2 X and vue3. When the first version was tested, it was found that after packaging, the total package size was more than 4M, so there was a lot of room for optimization.Tool chain descriptionCurrently vite2 X is packaged based on rollup, not esbuild. See hereUse r ...
Posted by Albright on Sat, 26 Feb 2022 01:43:14 +0100
npm: the whole process of publishing components to npm (using rollup packaging tool)
There are few tutorials of self-made npm package on the Internet, and there are many difficulties, so I made this video so that we don't have to climb the pit again. Self made front-end plug-ins and published to npm generally need packaging tools, because npm itself runs in node, and node does not support es6 import syntax, while front-end pack ...
Posted by madan koshti on Mon, 27 Sep 2021 05:28:34 +0200