You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to build two sets of JS files, one for the FE inside the (default) /public folder, the other for the BE inside a different folder, specifically /resources/scripts
Setting the public path to the project root would produce the expected result for the specified built files, however the vendor images and the mix-manifest.json file would be generated in the root folder, which is not OK:
I'd argue that the output path should define the exact output of the built asset relatively to the public folder (whatever that is), therefore ../ in the output path should allow to write at the same level of the public folder.
The text was updated successfully, but these errors were encountered:
Description:
I want to build two sets of JS files, one for the FE inside the (default)
/public
folder, the other for the BE inside a different folder, specifically/resources/scripts
Steps To Reproduce:
This is my
webpack.mix.js
:The
contouring.js
file always ends up created inside the/public
folder, regardless of the output path I useI tried the following but the output is always the same
The public folder seems to be used by default even if you don't specify it in the output path, so the output is the same even with:
Setting the public path to the project root would produce the expected result for the specified built files, however the vendor images and the
mix-manifest.json
file would be generated in the root folder, which is not OK:I'd argue that the output path should define the exact output of the built asset relatively to the public folder (whatever that is), therefore
../
in the output path should allow to write at the same level of the public folder.The text was updated successfully, but these errors were encountered: