Rename build to dist
This commit is contained in:
parent
7babdf1cd2
commit
e4f59202d3
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,5 +1,5 @@
|
||||||
/mix-manifest.json
|
/mix-manifest.json
|
||||||
/node_modules/
|
/node_modules/
|
||||||
/output_*/
|
/output_*/
|
||||||
/source/build/
|
/source/dist/
|
||||||
/vendor/
|
/vendor/
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
[build]
|
[build]
|
||||||
command = "composer prod && yarn prod && cp -R source/build output_prod"
|
command = "composer prod && yarn prod && cp -R source/dist output_prod"
|
||||||
publish = "output_prod"
|
publish = "output_prod"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>{{ site.title }}</title>
|
<title>{{ site.title }}</title>
|
||||||
<link href="/build/css/app.css" rel="stylesheet">
|
<link href="/dist/css/app.css" rel="stylesheet">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
</head>
|
</head>
|
||||||
<body class="text-black bg-grey-lightest font-sans text-sm sm:text-base">
|
<body class="text-black bg-grey-lightest font-sans text-sm sm:text-base">
|
||||||
|
@ -21,6 +21,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script src="/build/js/all.js"></script>
|
<script src="/dist/js/all.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -4,8 +4,8 @@ require('laravel-mix-purgecss');
|
||||||
require('laravel-mix-tailwind');
|
require('laravel-mix-tailwind');
|
||||||
|
|
||||||
mix.disableNotifications()
|
mix.disableNotifications()
|
||||||
.sass('assets/sass/app.sass', 'source/build/css')
|
.sass('assets/sass/app.sass', 'source/dist/css')
|
||||||
.js(['node_modules/vue/dist/vue.js', 'assets/js/app.js'], 'source/build/js/all.js')
|
.js(['node_modules/vue/dist/vue.js', 'assets/js/app.js'], 'source/dist/js/all.js')
|
||||||
.tailwind()
|
.tailwind()
|
||||||
.purgeCss({
|
.purgeCss({
|
||||||
globs: [
|
globs: [
|
||||||
|
|
Reference in a new issue