diff --git a/grunt/aliases.yaml b/grunt/aliases.yaml index 638274bd6..b4785756e 100644 --- a/grunt/aliases.yaml +++ b/grunt/aliases.yaml @@ -72,6 +72,7 @@ release: - env:prod - clean:release - copy:release + - string-replace:favicon - string-replace:production - check-release-version - string-replace:latest_version @@ -87,6 +88,7 @@ release:quick: - env:prod - clean:release - copy:release + - string-replace:favicon - string-replace:production - check-release-version - string-replace:latest_version diff --git a/grunt/optimize-build.js b/grunt/optimize-build.js index d44012a47..6ccdf0ac9 100644 --- a/grunt/optimize-build.js +++ b/grunt/optimize-build.js @@ -334,8 +334,6 @@ requirejs.config(${JSON.stringify(contents)}); grunt.registerTask('generateConfigs', function() { const cfg = getDiscoveryConfig(); - console.log(fullConfig); - // generate the rest of the bundles _.forEach(fullConfig, function({ name, include }, moduleName) { const _cfg = _.extend({}, cfg, { diff --git a/grunt/string-replace.js b/grunt/string-replace.js index 230665138..d84b19d53 100644 --- a/grunt/string-replace.js +++ b/grunt/string-replace.js @@ -6,18 +6,13 @@ * @module grunt/string-replace */ module.exports = { - dist: { - files: [ - { - src: 'dist/index.html', - dest: 'dist/index.html', - }, - ], + favicon: { + files: { 'dist/': 'dist/*.html' }, options: { replacements: [ { - pattern: 'data-main="./config/discovery.config"', - replacement: 'data-main="./bumblebee_app.js"', + pattern: /\.\/styles\/favicon/g, + replacement: '', }, ], }, diff --git a/src/404.html b/src/404.html index 91d928a40..2bce4f942 100644 --- a/src/404.html +++ b/src/404.html @@ -4,6 +4,17 @@ + + + + + + + + + + +