Move CSS, JS and fonts into a dist directory
This commit is contained in:
parent
8ef8d7ee84
commit
0a1a1d4b55
|
@ -4,12 +4,12 @@ require('laravel-mix-purgecss');
|
||||||
require('laravel-mix-tailwind');
|
require('laravel-mix-tailwind');
|
||||||
|
|
||||||
mix.disableNotifications()
|
mix.disableNotifications()
|
||||||
.sass('assets/sass/app.sass', 'source/css')
|
.sass('assets/sass/app.sass', 'source/dist/css')
|
||||||
.js([
|
.js([
|
||||||
'node_modules/jquery/src/jquery.js',
|
'node_modules/jquery/src/jquery.js',
|
||||||
'assets/js/app.js',
|
'assets/js/app.js',
|
||||||
], 'source/js/all.js')
|
], 'source/dist/js/all.js')
|
||||||
.copyDirectory('node_modules/font-awesome/fonts', 'source/fonts')
|
.copyDirectory('node_modules/font-awesome/fonts', 'source/dist/fonts')
|
||||||
.tailwind()
|
.tailwind()
|
||||||
.purgeCss({
|
.purgeCss({
|
||||||
globs: [
|
globs: [
|
||||||
|
|
Loading…
Reference in a new issue