mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
cleanup revert
This commit is contained in:
parent
c4e38b56cb
commit
538b21785c
2 changed files with 3 additions and 5 deletions
|
|
@ -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/
|
||||
|
|
@ -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")
|
||||
])
|
||||
|
|
|
|||
Loading…
Reference in a new issue