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
|
||||
/node_modules/
|
||||
/output_*/
|
||||
/source/build/
|
||||
/source/dist/
|
||||
/vendor/
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[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"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<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">
|
||||
</head>
|
||||
<body class="text-black bg-grey-lightest font-sans text-sm sm:text-base">
|
||||
|
@ -21,6 +21,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/build/js/all.js"></script>
|
||||
<script src="/dist/js/all.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -4,8 +4,8 @@ require('laravel-mix-purgecss');
|
|||
require('laravel-mix-tailwind');
|
||||
|
||||
mix.disableNotifications()
|
||||
.sass('assets/sass/app.sass', 'source/build/css')
|
||||
.js(['node_modules/vue/dist/vue.js', 'assets/js/app.js'], 'source/build/js/all.js')
|
||||
.sass('assets/sass/app.sass', 'source/dist/css')
|
||||
.js(['node_modules/vue/dist/vue.js', 'assets/js/app.js'], 'source/dist/js/all.js')
|
||||
.tailwind()
|
||||
.purgeCss({
|
||||
globs: [
|
||||
|
|
Reference in a new issue