diff --git a/resources/themes/pterodactyl/templates/wrapper.blade.php b/resources/themes/pterodactyl/templates/wrapper.blade.php index cb5bee759..1a03ee2fa 100644 --- a/resources/themes/pterodactyl/templates/wrapper.blade.php +++ b/resources/themes/pterodactyl/templates/wrapper.blade.php @@ -10,7 +10,7 @@ @show @section('assets') - {!! $asset->css('assets/css/bundle.css') !!} + {!! $asset->css('assets/bundle.css') !!} @show @include('layouts.scripts') @@ -24,7 +24,7 @@ @yield('below-container') @show @section('scripts') - {!! $asset->js('assets/scripts/bundle.js') !!} + {!! $asset->js('assets/bundle.js') !!} @show diff --git a/webpack.config.js b/webpack.config.js index c016e7fe2..484e7cc83 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -15,7 +15,7 @@ module.exports = { entry: ['./resources/assets/styles/main.css', './resources/assets/scripts/app.js'], output: { path: path.resolve(__dirname, 'public/assets'), - filename: 'bundle-[chunkhash].min.js', + filename: 'bundle-[chunkhash].js', publicPath: '/assets/', crossOriginLoading: 'anonymous', }, @@ -77,7 +77,7 @@ module.exports = { 'php artisan ziggy:generate resources/assets/scripts/helpers/ziggy.js', ], }), - new ExtractTextPlugin('bundle-[chunkhash].min.css', { + new ExtractTextPlugin('bundle-[chunkhash].css', { allChunks: true, }), new UglifyJsPLugin({