mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Laravel Vapor - attempt to fix a missing asset (Error 403)
This commit is contained in:
Vendored
-18
@@ -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
|
||||
}
|
||||
};
|
||||
});
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user