nextcloud-libraries / webpack-vue-config

This is a base webpack configuration to use with Nextcloud apps https://npmjs.org/@nextcloud/webpack-vue-config
GNU Affero General Public License v3.0
8 stars 3 forks source link

feat: add raw loader rule #518

Closed pulsejet closed 9 months ago

pulsejet commented 9 months ago

Anything that builds @nextcloud/dialogs needs this

https://github.com/nextcloud-libraries/nextcloud-dialogs/blob/0a5e97166447f53aa5d28c582475705aa2c56768/lib/filepicker-builder.ts#L30-L31

ShGKme commented 9 months ago

Though having ?raw import may make sense, IMO, a fix of this specific issue should be on @nextcloud/dialogs side.

pulsejet commented 9 months ago

Yeah that would make a more more sense. I spent an hour debugging what's going on here cause this wasn't documented anywhere; I can imagine the confusion would still exist if the downstream app isn't using this config package