From 69df147bb53ea8613452758c0f6a9e25b7cf74c7 Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Wed, 3 Jan 2024 00:29:43 +0800 Subject: [PATCH] Laravel Vapor - attempt to fix a missing asset (Error 403) --- webpack.mix.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/webpack.mix.js b/webpack.mix.js index 87b6d17c..59d5e97a 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -12,21 +12,3 @@ const mix = require('laravel-mix'); */ mix.js('./resources/assets/vue/app.js', 'public/vue').version(); - -//cief todo: gulp -// if (mix.inProduction()) { - const ASSET_URL = process.env.ASSET_URL; - - mix.webpackConfig(webpack => { - return { - plugins: [ - new webpack.DefinePlugin({ - "process.env.ASSET_PATH": JSON.stringify(ASSET_URL) - }) - ], - output: { - publicPath: ASSET_URL - } - }; - }); -// }