-
When I run
My app is currently very simple and by some research I found out that diffdom, app-router and page-router aren't being referenced and so I deleted them and as expected the app continued to run. Why are these files in the production output, will they be needed as I add features to the app? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Not completely sure about everything, but these are my thoughts (some have documentation links where you can gather more information):
As far as I can see, you won't need any of it if you don't use reactive components, SPA pages, or turn on the page router |
Beta Was this translation helpful? Give feedback.
-
By default Nue doesn't include JavaScript at all. Those files are only included on if they are explicitly configured to do so. For example, if you add reactive components to some folder, Nue automatically detects them and includes both |
Beta Was this translation helpful? Give feedback.
-
Noticed that |
Beta Was this translation helpful? Give feedback.
Noticed that
diff-dom
was incorrectly added to the production folder. Which is now fixed. Thank you @yerlaser for pointing out!