Answer the question
In order to leave comments, you need to log in
How to minify a Vue assembly?
I use the following stack in my work: vuejs + elementio + grpc-web, packaged with webpack.
The output is js bundles about 7 MB in development mode and 1.5 MB after minification in production.
I tried to import elementio component by component, but somehow I didn’t notice much difference. Perhaps somehow I imported it wrong, although everything worked.
Question: how to reduce the output bundle size?
Answer the question
In order to leave comments, you need to log in
For now, ssr will help just to avoid the visible loading of the bundle.
Further minification will not bring profit.
Waiting for time slicing in 3.0
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question