fgeierst / typo3-vite-demo

GNU General Public License v2.0
20 stars 5 forks source link

Remove complexity of loading production assets and use TYPO3 core loading #23

Closed peter-neumann-dev closed 1 year ago

peter-neumann-dev commented 1 year ago

There were UserFunctions or suggested ViewHelpers to load production assets from ViteJS production builds. This was necessary because they get hashed by default. Since we are using TYPO3, we can reduce the complexity by targeting the core way of including files with following benefits:

I have prepared a branch with these changes and will create a Pull Request #22 for that (no matter if this will get merged) to have a look at the changes. The assets are bundled to the public folder without any nesting:

├── Resources
│   └── Public
│       ├── main.css
│       └── main.js
peter-neumann-dev commented 1 year ago

See comments #22