Skip to content

Commit

Permalink
js minification
Browse files Browse the repository at this point in the history
  • Loading branch information
tushargugnani committed Jan 28, 2023
1 parent bcf056e commit ef2e7fd
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"/resources/dist/css/app.css": "/resources/dist/css/app.css"
"/resources/dist/css/app.css": "/resources/dist/css/app.css",
"/resources/dist/js/banner-manager.js": "/resources/dist/js/banner-manager.js",
"/resources/dist/js/smart-banner.min.js": "/resources/dist/js/smart-banner.min.js"
}
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions resources/dist/js/banner-manager.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions resources/dist/js/smart-banner.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions resources/views/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
src="https://unpkg.com/[email protected]/dist/cdn.min.js"
defer
></script>
<script src="{{asset('vendor/smart-ads/js/init-alpine.js')}}"></script>
<script src="{{asset('vendor/smart-ads/js/prism.js')}}"></script>
<script src="{{asset('vendor/smart-ads/js/banner-manager.js')}}"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js"
defer
Expand Down
2 changes: 2 additions & 0 deletions webpack.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ require('mix-tailwindcss');
mix.postCss('resources/assets/css/app.css', 'resources/dist/css')
.tailwind()

mix.combine(['resources/assets/js/init-alpine.js', 'resources/assets/js/prism.js'], 'resources/dist/js/banner-manager.js');
mix.minify('resources/dist/js/smart-banner.js');

0 comments on commit ef2e7fd

Please sign in to comment.