Name files correctly
This commit is contained in:
parent
8673a061ac
commit
bbdade398a
|
@ -10,7 +10,7 @@
|
||||||
@show
|
@show
|
||||||
|
|
||||||
@section('assets')
|
@section('assets')
|
||||||
{!! $asset->css('assets/css/bundle.css') !!}
|
{!! $asset->css('assets/bundle.css') !!}
|
||||||
@show
|
@show
|
||||||
|
|
||||||
@include('layouts.scripts')
|
@include('layouts.scripts')
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
@yield('below-container')
|
@yield('below-container')
|
||||||
@show
|
@show
|
||||||
@section('scripts')
|
@section('scripts')
|
||||||
{!! $asset->js('assets/scripts/bundle.js') !!}
|
{!! $asset->js('assets/bundle.js') !!}
|
||||||
@show
|
@show
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -15,7 +15,7 @@ module.exports = {
|
||||||
entry: ['./resources/assets/styles/main.css', './resources/assets/scripts/app.js'],
|
entry: ['./resources/assets/styles/main.css', './resources/assets/scripts/app.js'],
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, 'public/assets'),
|
path: path.resolve(__dirname, 'public/assets'),
|
||||||
filename: 'bundle-[chunkhash].min.js',
|
filename: 'bundle-[chunkhash].js',
|
||||||
publicPath: '/assets/',
|
publicPath: '/assets/',
|
||||||
crossOriginLoading: 'anonymous',
|
crossOriginLoading: 'anonymous',
|
||||||
},
|
},
|
||||||
|
@ -77,7 +77,7 @@ module.exports = {
|
||||||
'php artisan ziggy:generate resources/assets/scripts/helpers/ziggy.js',
|
'php artisan ziggy:generate resources/assets/scripts/helpers/ziggy.js',
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
new ExtractTextPlugin('bundle-[chunkhash].min.css', {
|
new ExtractTextPlugin('bundle-[chunkhash].css', {
|
||||||
allChunks: true,
|
allChunks: true,
|
||||||
}),
|
}),
|
||||||
new UglifyJsPLugin({
|
new UglifyJsPLugin({
|
||||||
|
|
Loading…
Reference in New Issue