Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

add files for token brand rewrite, remove index.html template copy

Ed Plato763ce14d2e6f
diff --git a/tasks/dist.js b/tasks/dist.js
index 89deab207..174042dcf 100755
--- a/tasks/dist.js
+++ b/tasks/dist.js
@@ -16,7 +16,12 @@ let brand = require('../build/worldview/brand/brand.json');
let applyTo = [
'build/worldview/index.html',
'build/worldview/build/wv.js',
- 'build/worldview/pages/about.html'
+ 'build/worldview/build/wv.css.map',
+ 'build/worldview/pages/about.html',
+ 'build/worldview/pages/tour.html',
+ 'build/worldview/pages/unsupported_browser.html',
+ 'build/worldview/pages/curl.html',
+ 'build/worldview/pages/wget.html'
];
// Build date shown in the About box
diff --git a/webpack.config.js b/webpack.config.js
index 4aec16a73..01a404ba5 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -17,8 +17,7 @@ const pluginSystem = [
new HtmlWebpackPlugin({
hash: true,
title: 'Worldview',
- template: 'web/index.html',
- filename: './index.html',
+ filename: 'web/index.html',
inject: false
}),
new webpack.ProvidePlugin({
@@ -206,7 +205,6 @@ module.exports = {
loader: 'html-loader',
options: {
minimize: !devMode,
- removeComments: !devMode,
removeEmptyAttributes: !devMode,
sortAttributes: !devMode,
sortClassName: !devMode