1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-26 02:52:30 +01:00

Name files correctly

This commit is contained in:
Dane Everitt 2018-06-03 18:53:27 -07:00
parent 8673a061ac
commit bbdade398a
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
2 changed files with 4 additions and 4 deletions

View File

@ -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
</body>
</html>

View File

@ -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({