Set custom path for chunk files
See original GitHub issue- Laravel Mix Version: 1.6.0 (
npm list --depth=0
) - Node Version (
node -v
): - NPM Version (
npm -v
): - OS:
Description:
Hello, My laravel structure is : /myApp/ (/app, /config, /resources…) <= laravel /wpublic (/js, /css) <= here i put my index.php file, this is the content of my public folder How can i set a custom path for chunk files? For example for js files i want using this path /wpublic/js and for chunks /wpublic/js/chunks
Steps To Reproduce:
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Customize output directory for lazy loaded chunks in Angular 4
Create "extra-webpack.config.js" in project root directory. Update the case values as needed for your files. This is a modified example from ...
Read more >MiniCssExtractPlugin - webpack
This option determines the name of non-entry chunk files. ... Specifies a custom public path for the external resources like images, files, etc...
Read more >How to name a webpack chunk (including split and common ...
Naming your entry file, like app.js in Webpack is fairly simple, using a webpack.config.js file. const path = require ...
Read more >Code Splitting | Laravel Mix Documentation
Basic Usage; Customize the Runtime Chunk Path; The Manifest File ... with different arguments to extract different sets of libraries into separate files....
Read more >rollup.js
Rollup should typically be used from the command line. You can provide an optional Rollup configuration file to simplify command line usage and...
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 Free
Top 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
Search before creating new issue
Don’t run too fast. Solve your issues one by one. Learn the basics, clear the concepts. I can’t teach you the whole development flow. Jeffrey way runs a free website called Laracasts for people like you. Invest some time in watching those webseries and you will no longer require asking such questions.