You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thanks for putting this project together. It's such an improvement on webpacker regarding its ease of use and configuration.
I'm deploying a dockerized rails app to heroku and followed the instructions in the docs site for a heroku deploy. I also confirmed that the vite:build command is running when the assets:precompile command runs.
I feel like there is something simple that I'm missing, but when I look at the source code for my deployed app, all of the js not minified and the tree structure is in tact (screenshot comparison below between the sample deployed app on the docs site and my deployed app).
The .vue component that you are seeing is being obtained by the browser through the sourcemaps, since you are inspecting the app in DevTools.
If you click the (source mapped from ...) link, it will open the JS file being used on the page, and if you pretty-print the file you should be able to find your compiled Vue components:
The sourcemaps are only fetched if you open DevTools, so don't worry about performance. They are very helpful because you can set breakpoints on the original sources, as well as get the exact line where an error occurred if you are using a bug tracker.
Description 📖
First off, thanks for putting this project together. It's such an improvement on webpacker regarding its ease of use and configuration.
I'm deploying a dockerized rails app to heroku and followed the instructions in the docs site for a heroku deploy. I also confirmed that the
vite:build
command is running when theassets:precompile
command runs.I feel like there is something simple that I'm missing, but when I look at the source code for my deployed app, all of the js not minified and the tree structure is in tact (screenshot comparison below between the sample deployed app on the docs site and my deployed app).
Reproduction 🐞
https://github.com/damwhit/harvest_helper/tree/vite-vue
Screenshots 📷
Thanks for your help!
The text was updated successfully, but these errors were encountered: