From 538b21785cf4e1ddd0634df554052e49a5a97b57 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Fri, 16 Feb 2018 05:56:50 -0600 Subject: [PATCH] cleanup revert --- scripts/deploy.sh | 2 +- src/FilterLists.Web/webpack.config.js | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 7a50f6b9a..dcbda6424 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -23,7 +23,7 @@ sshpass -p $FTP_PASSWORD ssh -o StrictHostKeyChecking=no $FTP_USER@$FTP_HOST 'su #purge CDN curl -X DELETE "https://api.cloudflare.com/client/v4/zones/$CF_FILTERLISTS_ZONE/purge_cache" -H "X-Auth-Email: $CF_EMAIL" -H "X-Auth-Key: $CF_GLOBAL_API_KEY" -H "Content-Type: application/json" --data '{"purge_everything":true}' -sleep 30 +sleep 10 #prime app curl https://beta.filterlists.com/ \ No newline at end of file diff --git a/src/FilterLists.Web/webpack.config.js b/src/FilterLists.Web/webpack.config.js index c6cbd309c..1b7e3f36e 100644 --- a/src/FilterLists.Web/webpack.config.js +++ b/src/FilterLists.Web/webpack.config.js @@ -36,16 +36,14 @@ module.exports = (env) => { }) ].concat(isDevBuild ? [ - // Plugins that apply in development builds only new webpack.SourceMapDevToolPlugin({ - filename: "[file].map", // Remove this line if you prefer inline source maps + filename: "[file].map", moduleFilenameTemplate: path.relative(bundleOutputDir, - "[resourcePath]") // Point sourcemap entries to the original file locations on disk + "[resourcePath]") }) ] : [ - // Plugins that apply in production builds only new webpack.optimize.UglifyJsPlugin(), new ExtractTextPlugin("site.css") ])