public inbox for [email protected]
help / color / mirror / Atom feedFrom: Aditya Toshniwal <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin][RM5477] Cache bust webpack chunk files
Date: Tue, 11 May 2021 12:33:22 +0530
Message-ID: <CAM9w-_nadQosN4UnVHdanW2PYebdLZ4iyq78r2+JAA1ELKoR5Q@mail.gmail.com> (raw)
Hi Hackers,
Attached is the patch to bust cache when chunk file content changes.
Please review.
--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | *edbpostgres.com*
<http://edbpostgres.com;
"Don't Complain about Heat, Plant a TREE"
Attachments:
[application/octet-stream] RM5477.patch (418B, 3-RM5477.patch)
download | inline diff:
diff --git a/web/webpack.config.js b/web/webpack.config.js
index e906a567c..779f2faa4 100644
--- a/web/webpack.config.js
+++ b/web/webpack.config.js
@@ -366,7 +366,7 @@ module.exports = [{
libraryTarget: 'amd',
path: outputPath,
filename: '[name].js',
- chunkFilename: '[name].chunk.js',
+ chunkFilename: '[name].chunk.js?id=[chunkhash]',
libraryExport: 'default',
publicPath: '',
},
view thread (2+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: [pgAdmin][RM5477] Cache bust webpack chunk files
In-Reply-To: <CAM9w-_nadQosN4UnVHdanW2PYebdLZ4iyq78r2+JAA1ELKoR5Q@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox