-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5561264
commit 387ac69
Showing
7 changed files
with
24 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
|-------------------------------------------------------------------------- | ||
| Mix Asset Management | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Mix provides a clean, fluent API for defining some Webpack build steps | ||
| for your theme assets. By default, we are compiling the CSS | ||
| file for the application as well as bundling up all the JS files. | ||
| | ||
*/ | ||
|
||
module.exports = (mix) => { | ||
mix.less('plugins/rainlab/deploy/assets/less/deploy.less', 'plugins/rainlab/deploy/assets/css/'); | ||
} |
387ac69
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @samgeorges,
if I made changes to the less file, how does the compiling works? Is the command run automatically in the rainlab-deploy.mix.js or do I it run manually? I dinn't find anything in the oc doc.
Thanks
387ac69
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @hackolein
Comment out all these lines: https://github.com/octobercms/october/blob/3.x/webpack.mix.js#L33-L67
Then add a new lines to this file, and run
npm run prod
Docs are here: https://laravel-mix.com/