Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate only mix-manifest.json on specific folder #849

Closed
ahmedfaical opened this issue Jun 1, 2017 · 1 comment
Closed

Generate only mix-manifest.json on specific folder #849

ahmedfaical opened this issue Jun 1, 2017 · 1 comment

Comments

@ahmedfaical
Copy link

  • Laravel Mix Version: #.#.# (npm list --depth=0)
  • Node Version (node -v):
  • NPM Version (npm -v):
  • OS:

Description:

I need your help about the file mix-manifest.json, when webpack compile my js and css files he place them on my www folder with (in my webpack.mix.js):
screen shot 2017-06-01 at 13 23 09

in my racine "/" i have myApp folder and www folder and all laravel logic is placed in myApp folder
and my index.php is in www folder, i want that the file mix-manifest.json be generated in myApp folder and the rest of compiled files (js,sass,less...) in www folder
how can i do this please ?

Steps To Reproduce:

@JeffreyWay
Copy link
Collaborator

You can't override the default location of the mix-manifest.json file. It will always be placed in the project's public directory. You can use mix.setPublicPath() to explicitly set the public folder for your app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants