forked from tools/josh
1
0
Fork 0

Correctly resolve JS bundle by version number

This commit is contained in:
Florine W. Dekker 2020-09-30 15:09:57 +02:00
parent 41ca799eba
commit 0a422e6777
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ module.exports = grunt => {
},
replace: {
dev: {
src: ["./dist/*.js"],
src: ["./dist/*.html", "./dist/*.js"],
replacements: [
{
from: "%%VERSION_NUMBER%%",
@ -37,7 +37,7 @@ module.exports = grunt => {
overwrite: true
},
deploy: {
src: ["./dist/*.js"],
src: ["./dist/*.html", "./dist/*.js"],
replacements: [
{
from: "%%VERSION_NUMBER%%",

View File

@ -1,6 +1,6 @@
{
"name": "fwdekker.com",
"version": "0.38.1",
"version": "0.38.2",
"description": "The source code of [my personal website](https://fwdekker.com/).",
"author": "Felix W. Dekker",
"browser": "dist/bundle.js",