From bec3ae3f89f3eaa1952020be514c9b79e87469c2 Mon Sep 17 00:00:00 2001 From: Cmdr McDonald Date: Sun, 26 Feb 2017 09:14:10 +0000 Subject: [PATCH] Tidy ups --- src/migrate.html | 79 ------------------------------------------ webpack.config.prod.js | 15 +------- 2 files changed, 1 insertion(+), 93 deletions(-) delete mode 100644 src/migrate.html diff --git a/src/migrate.html b/src/migrate.html deleted file mode 100644 index 5fb06c22..00000000 --- a/src/migrate.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - Coriolis: Migrate to HTTPS - - - - - - - diff --git a/webpack.config.prod.js b/webpack.config.prod.js index 82eefb65..bbb4f065 100644 --- a/webpack.config.prod.js +++ b/webpack.config.prod.js @@ -6,12 +6,6 @@ var HtmlWebpackPlugin = require("html-webpack-plugin"); var ExtractTextPlugin = require("extract-text-webpack-plugin"); var AppCachePlugin = require('appcache-webpack-plugin'); -//var node_modules_dir = path.resolve(__dirname, 'node_modules'); -//var d3Path = path.resolve(__dirname, 'd3.min.js'); -//var reactPath = path.resolve(node_modules_dir, 'react/dist/react.min.js'); -//var reactDomPath = path.resolve(node_modules_dir, 'react-dom/dist/react-dom.min.js'); -//var lzStringPath = path.resolve(node_modules_dir, 'lz-string/libs/lz-string.min.js'); - function CopyDirPlugin(source, destination) { this.source = source; this.destination = destination; @@ -29,13 +23,7 @@ module.exports = { lib: ['d3', 'react', 'react-dom', 'classnames', 'fbemitter', 'lz-string'] }, resolve: { - extensions: ['.js', '.jsx', '.json', '.less'], -// alias: { -// 'd3': d3Path, -// 'react': reactPath, -// 'react-dom': reactDomPath, -// 'lz-string': lzStringPath -// }, + extensions: ['.js', '.jsx', '.json', '.less'] }, output: { path: path.join(__dirname, 'build'), @@ -76,7 +64,6 @@ module.exports = { }), new CopyDirPlugin(path.join(__dirname, 'src/schemas'), 'schemas'), new CopyDirPlugin(path.join(__dirname, 'src/images/logo/*'), ''), - new CopyDirPlugin(path.join(__dirname, 'src/migrate.html'), ''), new CopyDirPlugin(path.join(__dirname, 'src/.htaccess'), ''), new AppCachePlugin({ network: ['*'],