From 4543219d8b9ab90b2607e3a715af8c4b7a5eecbc Mon Sep 17 00:00:00 2001 From: Geoffrey van Wyk Date: Sat, 16 Dec 2023 09:48:13 +0200 Subject: [PATCH] chore(dev): Revert to original Mix public path --- files/website/webpack.mix.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/files/website/webpack.mix.js b/files/website/webpack.mix.js index ca3ce19..589679e 100644 --- a/files/website/webpack.mix.js +++ b/files/website/webpack.mix.js @@ -4,9 +4,11 @@ let mix = require('laravel-mix'); -mix.js('resources/assets/app.js', 'app.js') +mix + .js('resources/assets/app.js', 'app.js') .postCss('resources/assets/app.css', 'app.css', [ require('tailwindcss'), require('autoprefixer'), - ]).setPublicPath('_media') - .copy('_media/**/*', '_site'); + ]) + .setPublicPath('_site/media') + .copyDirectory('_site/media', '_media');