-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #787 from fey/fix-versioning-files
add static files hashnames
- Loading branch information
Showing
36 changed files
with
13,617 additions
and
96 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<p>{{ __('exercises/1_29.description.1') }}</p> | ||
<img class="img-fluid" src="{{ asset('img/exercises/1_29.gif') }}" alt="1.29"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/1_29.gif') }}" alt="1.29"> | ||
<p>{{ __('exercises/1_29.description.2') }}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<p>{{ __('exercises/2_24.description.1') }}</p> | ||
<img class="img-fluid" src="{{ asset('img/exercises/2_24.gif') }}" alt="2.24"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/2_24.gif') }}" alt="2.24"> | ||
<p>{{ __('exercises/2_24.description.2') }}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<p>{{ __('exercises/2_56.description.1') }}</p> | ||
<img class="img-fluid" src="{{ asset('img/exercises/2_56.gif') }}" alt="2.56"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/2_56.gif') }}" alt="2.56"> | ||
<p>{{ __('exercises/2_56.description.2') }}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<p>{{ __('exercises/2_83.description.1') }}</p> | ||
<img class="img-fluid" src="{{ asset('img/exercises/2_83.gif') }}" alt="2.83"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/2_83.gif') }}" alt="2.83"> | ||
<p>{{ __('exercises/2_83.description.2') }}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<p>{{ __('exercises/3_43.description.1') }}</p> | ||
<img class="img-fluid" src="{{ asset('img/exercises/3_38.gif') }}" alt="3.43"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/3_38.gif') }}" alt="3.43"> | ||
<p>{{ __('exercises/3_43.description.2') }}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<p>{{ __('exercises/3_46.description.1') }}</p> | ||
<img class="img-fluid" src="{{ asset('img/exercises/3_38.gif') }}" alt="3.46"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/3_38.gif') }}" alt="3.46"> | ||
<p>{{ __('exercises/3_46.description.2') }}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<p>{{ __('exercises/3_61.description.1') }}<a href="{{ route('exercises.show', getExercise('3.59')) }}">3.59</a> | ||
{{ __('exercises/3_61.description.2') }}</p> | ||
<img class="img-fluid" src="{{ asset('img/exercises/3_61.gif') }}" alt="3.61"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/3_61.gif') }}" alt="3.61"> | ||
<p>{{ __('exercises/3_61.description.3') }}<a href="{{ route('exercises.show', getExercise('3.60')) }}">3.60</a></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<p>{{ __('exercises/3_65.description.1') }}</p> | ||
<img class="img-fluid" src="{{ asset('img/exercises/3_65.gif') }}" alt="3.65"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/3_65.gif') }}" alt="3.65"> | ||
<p>{{ __('exercises/3_65.description.2') }}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<img class="img-fluid" src="{{ asset('img/exercises/3_73_1.gif') }}" alt="3.73_1"> | ||
<img class="img-fluid" src="{{ asset('img/exercises/3_73_2.gif') }}" alt="3.73_2"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/3_73_1.gif') }}" alt="3.73_1"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/3_73_2.gif') }}" alt="3.73_2"> | ||
<p>{{ __('exercises/3_73.description.1') }}</p> | ||
<p>{{ __('exercises/3_73.description.2') }}</p> | ||
<p>{{ __('exercises/3_73.description.3') }}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<img class="img-fluid" src="{{ asset('img/exercises/3_78_1.gif') }}" alt="3.78_1"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/3_78_1.gif') }}" alt="3.78_1"> | ||
<p>{{ __('exercises/3_78.description.1') }}</p> | ||
<p>{{ __('exercises/3_78.description.2') }}</p> | ||
<img class="img-fluid" src="{{ asset('img/exercises/3_78_2.gif') }}" alt="3.78_2"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/3_78_2.gif') }}" alt="3.78_2"> | ||
<p>{{ __('exercises/3_78.description.3') }}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<p>{{ __('exercises/3_80.description.1') }}</p> | ||
<img class="img-fluid" src="{{ asset('img/exercises/3_80_1.gif') }}" alt="3.80_1"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/3_80_1.gif') }}" alt="3.80_1"> | ||
<p>{{ __('exercises/3_80.description.2') }}</p> | ||
<img class="img-fluid" src="{{ asset('img/exercises/3_80_2.gif') }}" alt="3.80_2"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/3_80_2.gif') }}" alt="3.80_2"> | ||
<p>{{ __('exercises/3_80.description.3') }}</p> | ||
<img class="img-fluid" src="{{ asset('img/exercises/3_80_3.gif') }}" alt="3.80_3"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/3_80_3.gif') }}" alt="3.80_3"> | ||
<p>{{ __('exercises/3_80.description.4') }}</p> | ||
<img class="img-fluid" src="{{ asset('img/exercises/3_80_4.gif') }}" alt="3.80_4"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/3_80_4.gif') }}" alt="3.80_4"> | ||
<p>{{ __('exercises/3_80.description.5') }}</p> | ||
<img class="img-fluid" src="{{ asset('img/exercises/3_80_5.gif') }}" alt="3.80_5"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/3_80_5.gif') }}" alt="3.80_5"> | ||
<p>{{ __('exercises/3_80.description.6') }}</p> | ||
<p>{{ __('exercises/3_80.description.7') }}<a href="{{ route('exercises.show', getExercise('3.73')) }}">3.73</a> | ||
{{ __('exercises/3_80.description.8') }}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<p>{{ __('exercises/4_76.description.1') }}</p> | ||
<p>{{ __('exercises/4_76.description.2') }}</p> | ||
<img class="img-fluid" src="{{ asset('img/exercises/4_76.gif') }}" alt="4.76"> | ||
<img class="img-fluid" src="{{ mix('img/exercises/4_76.gif') }}" alt="4.76"> | ||
<p>{{ __('exercises/4_76.description.3') }}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
const mix = require('laravel-mix'); | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Mix Asset Management | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Mix provides a clean, fluent API for defining some Webpack build steps | ||
| for your Laravel application. By default, we are compiling the Sass | ||
| file for the application as well as bundling up all the JS files. | ||
| | ||
*/ | ||
|
||
if (mix.inProduction()) { | ||
mix.version(); | ||
} | ||
mix.js('resources/js/app.js', 'public/js/app.js') | ||
.js('resources/js/hljs.js', 'public/js/hljs.js') | ||
.sass('resources/sass/app.scss', 'public/css') | ||
.copyDirectory('resources/assets/img', 'public/img'); | ||
mix | ||
.version() | ||
.js('resources/js/app.js', 'public/js/app.js') | ||
.js('resources/js/hljs.js', 'public/js/hljs.js') | ||
.sass('resources/sass/app.scss', 'public/css') | ||
.copyDirectory('resources/assets/img', 'public/img') | ||
.copyDirectory('resources/assets/img/exercises', 'public/img/exercises') | ||
.then(() => { | ||
const convertToFileHash = require("laravel-mix-make-file-hash"); | ||
convertToFileHash({ | ||
publicPath: "public", | ||
manifestFilePath: "public/mix-manifest.json" | ||
}); | ||
}); |