Adrien Foulon

Results 434 comments of Adrien Foulon

`requestPrepare` works well on the first call, but on subsequent calls the promise never resolves, that's a problem when resubmitting a form ``` await file.requestPrepare(); // This one resolves a...

A lot of solutions were already laid out originally, this would fall under > If this is not ideal because of the need to add the registry to the composer.json...

I made a vue3 fork https://github.com/Tofandel/inertia-vue3-modal

Modifying `webpack.config.js` invalidates the cache (as it is itself a build deps) try using an env variable and the filesystem Try this ```js console.log(process.env.TEST); module.exports = { mode: 'development', entry:...

It seems it's possible to use something of the like to get the correct behavior ```js cache: { type: 'filesystem', version: process.env.TEST // Should create a hash of the env...

It seems it possible to hack this somehow! https://github.com/webpack/webpack/blob/00f4a82903d99502ffa1eee5c0bfd2fa405d04b8/lib/NormalModule.js#L842 ~~Just need to add the options to this buildMeta variable~~ :( This doesn't rerun on rebuild if the file is already...

That works with `config: [__filename, './foo'],` but it's so hackish :face_with_head_bandage: I'll keep the hash-object-version workaround in the meantime It's technically possible to write a file inside the package and...

@martinandersen3d Raw html would make it susceptible to XSS attacks, sure it's up to the server/dev to prevent this, but I'd rather not have accidental vulnerabilities, the message display should...

Links is another story. That would be a valid use case for using v-html however the message should be entirely html escaped first Then it could be parsed with a...

This will not be helpful, Vue is not interpolated in v-html, and it's anyway the same as writtng an a tag, this feature is only useful when you need to...