From e4f59202d3e8598a8b977f7c897161037201c84d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 4 Sep 2018 21:54:39 +0100 Subject: [PATCH] Rename build to dist --- .gitignore | 2 +- netlify.toml | 2 +- source/_layouts/default.html.twig | 4 ++-- webpack.mix.js | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 242cc09..7f917eb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ /mix-manifest.json /node_modules/ /output_*/ -/source/build/ +/source/dist/ /vendor/ diff --git a/netlify.toml b/netlify.toml index 75fb39b..c7a9e7c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -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" diff --git a/source/_layouts/default.html.twig b/source/_layouts/default.html.twig index c9a4a5c..5255eb7 100644 --- a/source/_layouts/default.html.twig +++ b/source/_layouts/default.html.twig @@ -3,7 +3,7 @@ {{ site.title }} - + @@ -21,6 +21,6 @@ - + diff --git a/webpack.mix.js b/webpack.mix.js index 36bcde4..53418c8 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -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: [