IRC logs for #farmOS, 2022-03-19 (GMT)

2022-03-18
2022-03-20
TimeNickMessage
[20:36:08]<symbioquine[m]>Well, this is the issue I was thinking of, but it might be a bit different; https://www.drupal.org/project/farm/issues/3243922
[20:37:08]<symbioquine[m]>More recently than that, I've been using a different strategy to handle the `publicPath` for Webpack chunks under Drupal...
[20:38:42]<symbioquine[m]>Basically I've been setting the `publicPath` to `'/__THIS_GETS_REPLACED_AT_RUNTIME_BY_THE_DRUPAL_CONTROLLER__/'` and replacing that with the correct path when the built artifacts are served by a controller.
[20:57:25]<paul121[m]>yeaaa that makes sense
[20:57:25]<paul121[m]>so it doesn't seem like its possible to modify this value at runtime then, huh?
[20:57:25]<symbioquine[m]>I think it actually may be...
[20:57:25]* farmBOT has quit (Ping timeout: 256 seconds)
[20:57:48]* farmBOT has joined #farmos
[21:00:32]<symbioquine[m]>https://webpack.js.org/guides/public-path/
[21:01:25]<symbioquine[m]>Specifically https://webpack.js.org/guides/public-path/#on-the-fly
[21:08:30]<paul121[m]>oh! cool. although.. could that variable conflict with other JS apps using webpack chunks?
[21:08:52]<paul121[m]>I gtg.. thanks for taking a look!
[21:09:02]<symbioquine[m]>Me too. :)
[21:09:12]<symbioquine[m]>paul121[m]: Good question!
[05:00:15]* Adam[m]123 has quit (Quit: You have been kicked for being idle)
[05:00:15]* donblair[m] has quit (Quit: You have been kicked for being idle)