cleanup revert

This commit is contained in:
Collin M. Barrett 2018-02-16 05:56:50 -06:00
parent c4e38b56cb
commit 538b21785c
2 changed files with 3 additions and 5 deletions

View file

@ -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/

View file

@ -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")
])