diff --git a/Gruntfile.js b/Gruntfile.js index c8994d7..7ff8c1c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -16,6 +16,9 @@ module.exports = grunt => { images: { files: [{expand: true, cwd: "src/main/", src: ["**/*.{ico,png,svg}"], dest: "dist/", flatten: true}] }, + js: { + files: [{expand: true, cwd: "src/main/", src: ["**/plain.js"], dest: "dist/", flatten: true}] + }, pwa: { files: [{expand: true, cwd: "src/main/", src: ["manifest.json", "sw.js"], dest: "dist/", flatten: true}] }, @@ -56,6 +59,10 @@ module.exports = grunt => { files: ["src/main/**/*.html"], tasks: ["copy:html"], }, + js: { + files: ["src/main/**/*.js"], + tasks: ["copy:js"], + }, ts: { files: ["src/main/**/*.ts"], tasks: ["webpack:dev", "replace:dev"], @@ -105,6 +112,7 @@ module.exports = grunt => { "copy:css", "copy:html", "copy:images", + "copy:js", "copy:pwa", // Compile "webpack:dev", @@ -119,6 +127,7 @@ module.exports = grunt => { "copy:css", "copy:html", "copy:images", + "copy:js", "copy:pwa", // Compile JS "webpack:deploy", diff --git a/package.json b/package.json index a4c2d8e..4b8b5e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fwdekker.com", - "version": "0.40.5", + "version": "0.40.6", "description": "The source code of [my personal website](https://fwdekker.com/).", "author": "Felix W. Dekker", "browser": "dist/bundle.js", diff --git a/src/main/index.html b/src/main/index.html index c901665..aee28c0 100644 --- a/src/main/index.html +++ b/src/main/index.html @@ -40,7 +40,7 @@ -->Please check the instructions how to enable JavaScript in your web browser.