ArchStanton's avatar

Chunking a in large standalone project

H,

I have a large vue standalone project and was wondering if I can leverage any features of Mix to make it run faster as my bundle.js is approaching 3mb

I have noticed I can chunk up the modules.

chunkFilename: mix.inProduction() ? 'dist/[name].[chunkhash].js' : 'dist/[name].js'

this produces a load of ordered js.

0.js
1.js
2.js

But how do I get this into the html on a standalone (non-laravel) project?

0 likes
0 replies

Please or to participate in this conversation.