diff --git a/config/copy.config.js b/config/copy.config.js index 1da283e97..7f0f0686f 100644 --- a/config/copy.config.js +++ b/config/copy.config.js @@ -1,4 +1,4 @@ -// New copy task for font files +// New copy task for font files and config.json. module.exports = { // Override Ionic copyFonts task to exclude Roboto and Noto fonts. copyFonts: { @@ -8,5 +8,9 @@ module.exports = { copyFontAwesome: { src: ['{{ROOT}}/node_modules/font-awesome/fonts/**/*'], dest: '{{WWW}}/assets/fonts' + }, + copyConfig: { + src: ['{{ROOT}}/src/config.json'], + dest: '{{WWW}}/' } }; diff --git a/www/README.md b/www/README.md index 10422efc9..9f900647d 100644 --- a/www/README.md +++ b/www/README.md @@ -1 +1,3 @@ This folder only contains compiled code and assets. Please do not modify files in this folder, the app code is in the "src" folder. + +The config.json values are ignored by the app. This file is informative for Continous Integration processes used by Moodle HQ.