Writing Web code when you're an outsider be like:
* How do I embed a TOML config file via webpack?
* Try toml-loader, the first search result
* Why doesn't it work?
* Oh, it's deprecated.
* Try raw-loader, the next thing suggested by documentation.
* Why doesn't it work?
* Oh, it's deprecated.
* Try type: 'asset/source'
* Finally, after half an hour, I can print a string to the console.
* But after reviewing the documentation again, I found it's still suboptimal, and the correct solution is to define a custom parser parse: toml.parse based on the toml package.
Everything in Web is moving at the speed of Chromium updates.
If you have a fediverse account, you can quote this note from your own instance. Search https://mk.absturztau.be/notes/ag4vjzvivx1501qr on your instance and quote it. (Note that quoting is not supported in Mastodon.)