How do you output files outside of your public path without changing it?
See original GitHub issue- Laravel Mix Version: 1.0.7
- Node Version: 8.1.2
- NPM Version: 5.0.4
- OS: LMDE 2 Betsy
Description:
So I want to be able to output files into other directories outside of the public path without changing it via mix.setPublicPath()
. Not sure if it is currently possible but I did something similar using Laravel Elixir but now I am trying to move to Laravel Mix.
Steps To Reproduce:
mix.standaloneSass('resources/assets/sass/example.scss', 'resources/assets/css');
mix.copy('resources/assets/css/example.css', 'resources/assets/css/test/second_example.css');
mix.styles(['resources/assets/css/example.css', 'resources/assets/css/test/second_example.css'], 'public/css').version();
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:10 (3 by maintainers)
Top Results From Across the Web
How do you output files outside of your public path without ...
So I want to be able to output files into other directories outside of the public path without changing it via mix.setPublicPath() ....
Read more >Public Path
Essentially, every file emitted to your output.path directory will be referenced from the output.publicPath location. This includes child chunks (created ...
Read more >c# - How to read existing text files without defining path
txt), select properties and then select "Build Action" as Content and Copy to "Output Directory" "Copy always" or "Copy if newer".
Read more >Configuration — Eleventy
Configuration files are optional. Add an .eleventy.js file to root directory of your project to configure Eleventy to your own project's needs.
Read more >Content Configuration
Paths are configured as glob patterns, making it easy to match all of the content files in your project without a ton of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@JeffreyWay
@isaacesso That does work for the output files, yes, but the
mix-manifest.json
is put in the project root folder but I want it inside of thePublic
folder.