- π©πͺGermany kreatIL
Okay, I went on and created a video explaining a little bit, we can of course document things in details in the future:
This is great, thank you! Your video was of big help for me.
There is one thing I have not yet understood. I had thought that when you create folders in "components", the files they contain are automatically taken into account. I removed the default "block" folder from it and now I get error messages:
ERROR in /components/block/block Module not found: Error: Can't resolve '/[local_path]/web/themes/custom/pbs5/src/components/block/block.js' in '/[local_path]/web/themes/custom/pbs5' ERROR in /js/main.script Module not found: Error: Can't resolve '/[local_path]/web/themes/custom/pbs5/src/components/block/block.scss' in '/[local_path]/web/themes/custom/pbs5' ERROR in /js/main.script Module not found: Error: Can't resolve '/[local_path]/web/themes/custom/pbs5/src/js/main.script.js' in '/[local_path]/themes/custom/pbs5'
I have searched all the files of the subtheme for a statement that embeds "block", but have not found any. Where does the error come from?
- Status changed to Fixed
about 2 years ago 9:16am 16 February 2023 Yes that's the Webpack behavior, thanks for the edit
Closing the ticket for now
Automatically closed - issue fixed for 2 weeks with no activity.