inheriting cwd webpack and maxBuffer to int parse - #2
Conversation
oleg-andreyev
commented
Feb 24, 2020
- inheriting from webpack context if it's not defined
- parseInt for maxBuffer
localjo
commented
Mar 19, 2020
Hi @oleg-andreyev thank you for your contribution! I'm sorry for the late response. I somehow missed the notification. Could you explain to me the use case for this change, and why it's necessary to change |
oleg-andreyev
commented
Mar 19, 2020
Why it's done like so? We're migrating our project from Symfony 3.4 to 4.4 and we used use AsseticBundle (which is not deprecated) but we still use JMSTwigJsBundle. Our entrypoint looks like this: require('shell-loader?script=./twig-templates.sh&maxBuffer=4194304!./twig-templates.sh'); |
localjo
commented
Mar 19, 2020
I'm not familiar with using Do you have a Webpack config file? If so, can you try passing (Note: I'm not familiar with Twig or Symfony, so I don't know what the |
oleg-andreyev
commented
Mar 20, 2020
@localjo here is the documentation about inline loaders: https://webpack.js.org/concepts/loaders/#inline |
localjo
commented
Mar 20, 2020
Thanks. I'll take a look. I'm feeling a bit under the weather right now, so it might take me awhile to get to this. Any part of your code that you can share with me will help as well. Thanks! |