inheriting cwd webpack and maxBuffer to int parse#2
inheriting cwd webpack and maxBuffer to int parse#2oleg-andreyev wants to merge 2 commits intolocaljo:masterfrom
Conversation
oleg-andreyev
commented
Feb 24, 2020
- inheriting from webpack context if it's not defined
- parseInt for maxBuffer
|
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 |
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'); |
|
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 |
|
@localjo here is the documentation about inline loaders: https://webpack.js.org/concepts/loaders/#inline |
|
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! |