Ryan Weaver

Results 336 comments of Ryan Weaver

Thank you Hugo for taking this on! Can you open a recipe PR - we will need to include webpack and webpack-cli in package.json and bump to v4 of Encore....

Does this not work? I'm guessing it doesn't... but I thought that it actually might. This feature makes sense to me, but `copyFiles()` is *tricky*. So if someone can make...

Hi there! yea, that’s a deep error from Webpack itself :/. I’m sorry to say that, at first glance, I also don’t have any ideas - I know Webpack pretty...

I'm not sure - I haven't had this problem before, but I typically have used modular styles. You could open a failing test case in functional.js to prove the problem...

Hmmm, we *do* use some hacking with `.copyFiles()` and create a file in `/tmp` and then require that file - https://github.com/symfony/webpack-encore/blob/e6b11c9931d5098fa627ea4661eddb8f48125724/lib/config-generator.js#L185-L224 - specifically important are the 1st, 2nd and last...

... yea, I can't repeat this locally. I'm going straight to where the tmp file is being created - it's something crazy like `/var/folders/ck/flmtvlh94bz_p8191nwkf1ph0000gn/T` on my Mac - and am...

> I'm just wondering how the two transpilers interact here babel and typescript, i thought typescript would only typecheck code and babel will do all the transformations. I'm not entirely...

@alexsegura one of the things that makes debugging tricky is that a lot of other packages were also upgraded in your diff. You could try to actually NOT upgrade encore...

Hey @nikrou! Hmm. Could you post your `webpack.config.js` file? I'm specifically curious what your `setPublicPath()` looks like - things are done a little bit different under a subdirectory (http://symfony.com/doc/current/frontend/encore/faq.html#my-app-lives-under-a-subdirectory). Cheers!