Ryan Weaver
Ryan Weaver
I've written some notes about how this bundle could have great AssetMapper support here: https://github.com/symfony/symfony/discussions/52249#discussioncomment-7359281 I'd be happy to help anyone who wants to try this! :)
Yup, that's part of it: the routes will need to be dumped somewhere/somehow as JavaScript and then export that value.
That's great! And yea, that's the general idea :). What we would add, to make it shine with AssetMapper, is NOT the need to run `fos:js-routing:dump`. Instead, you would have...
Can you also run `yarn install` and commit the updated `yarn.lock` file? That may be related to the broken tests.
Tests still failing - I think we actually need to go into the 3 `yarn-pnp-*` directories here - https://github.com/symfony/webpack-encore/tree/main/test_apps -and run `yarn install` in each and commit that updated lock...
Hi there! What is the exact error that you get when building for production? And was it necessary to move all of those `require` statements? Or is there just 1...
I guess we could execute the user’s callback first, then add filename after if both it and generator are undefined. PR welcome :)
Hey @Linuxmaker! I'm not sure what went wrong, but it looks like something weird happened when you originally installed Encore & Stimulus. Basically, all of this setup work should have...
Hi! I'm not sure - generally-speaking, Webpack wants you to use relative paths. So `assets/images/SVG/...` would NOT be the correct path, but something like `../images/SVG/..` WOULD be the correct idea...
I'm fine with disabling by default - it would be over in the recipe - https://github.com/symfony/recipes/blob/main/symfony/webpack-encore-bundle/1.10/webpack.config.js - we could also then remove https://github.com/symfony/recipes/blob/main/symfony/webpack-encore-bundle/1.10/package.json#L12 Cheers!