question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Asset folder is not flatted with copy() after run prod/dev

See original GitHub issue
  • Laravel Mix Version: 1.4.2 (npm list --depth=0)
  • Node Version (node -v): v6.11.1
  • NPM Version (npm -v): 3.10.10
  • OS: MacOSX 10.12.6

Description:

When I launch npm run dev o npm run prod, asset/plugins folder (and the others folders in webpack.mix.js) is replaced with a copy not flatted of structure, even if command is copy() and not copyDirectory()

Steps To Reproduce:

npm run dev / npm run prod

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
devcircuscommented, Sep 7, 2017

To clarify, that page from the Laravel docs is referring to the mix specific copy and copyDirectory commands.

0reactions
stale[bot]commented, Dec 4, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Asset folder is not flatted with copy() after run prod/dev #1175
From Laravel Docs seems that copy() copy folders content in flatten structure, instead copyDirectory() copy folders maintains the original ...
Read more >
Angular: files are not copied to assets folder during build
npm start runs without errors but nothing is copied to src/assets/images. What did I miss? Any help is appreciated. I have Angular 13,...
Read more >
Sage 10 + Bedrock | Image assets not found - Roots Discourse
Hi all, We are working on a website which is running with Sage 10 and ... the image is not copied to the...
Read more >
How to include an "assets" folder in a WinUI3 MSIX bundle
I have a WinUI3 project, where I want to include a bunch of "asset" file (eg .js, images etc) to run inside a...
Read more >
Assets Server REST API - copy - WoodWing Help Center
When you copy a folder, all subfolders and assets contained in it will also be copied to the ... If omitted, folders will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found