Closed joshreisner closed 1 month ago
figured this out!! in vite.config.js
:
export default {
build: {
rollupOptions: {
output: {
entryFileNames: "app.js",
},
},
},
};
/app.js | 1.37 MiB
/app.js.LICENSE.txt │ 1.94 KiB
we use laravel mix to build our javascript, which is odd since this isn't a laravel project - and even laravel is using vite now so it's time for us to make the switch
the important thing that mix does is bundle our javascript into a single, predictable url at
/public/app.js
. we also need to confirm that the minified size is roughly the same: ~1.4mthen update the steps for contributing in readme