Simen Bekkhus

Results 1232 comments of Simen Bekkhus

@altano Just a quick note about this, it only works if the images are in double quotes `"`, for some reason it fails of in single quotes `'`...

Hey @altano, there is something weird with this. The following template does _not_ get replaced ``` hbs ``` While this does get correctly replaced ``` hbs ``` The difference is...

`html-loader` has the correct behavior, yes. Handlebars doesn't return HTML though, it returns a JS function (I think?). Passing that through `html-loader` breaks. I get the following error. ``` ERROR...

@diurnalist Regarding single vs double quote, see https://github.com/webpack/html-loader/issues/18

Doesn't work. It compiles fine, but this is what shows in Chrome Dev Tools. ![image](https://cloud.githubusercontent.com/assets/1404810/7605244/a056de20-f94d-11e4-8ac8-07b9bc954207.png) It also doesn't process the image, it's just converted into a require-statement. Notice that it...

@chiplay using `inlineRequires` works for me, it's just a bit buggy atm. Regarding queries, you can use them inline, see http://webpack.github.io/docs/using-loaders.html#query-parameters. It's `loader-utils` under the hood so you can mess...

The code calls `new RegExp` on what you pass in, doesn't check if it's already a regex. You can create your own regexp, then just call `.source` on it

Have you tried putting `src` at the start of the tag?

Easiest to unblock is probably to float a patch (e.g. `patch-package`) just removing https://www.runpkg.com/[email protected]/build/InlineSnapshots.js#222. The fix for the above issue will be in Jest 29, but going from 26 straight...

I'd guess it's somehow some weird `moduleNameMapper`: https://github.com/facebook/react/blob/3613284dceac38de4ef5a7c93c4897600ee6923b/scripts/jest/config.build.js#L57 Not 100% sure tho - I can take a look