We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 856fc48 + 9813de2 commit 0e44776Copy full SHA for 0e44776
1 file changed
index.js
@@ -20,7 +20,7 @@ class ManifestVersionSyncPlugin {
20
const { packagePath, manifestPath } = this.options;
21
const { version } = JSON.parse(fs.readFileSync(packagePath).toString());
22
const manifest = JSON.parse(compilation.assets[manifestPath].source().toString());
23
- const content = JSON.stringify({ version, ...manifest }, undefined, 2);
+ const content = JSON.stringify({ ...manifest, version }, undefined, 2);
24
25
compilation.assets[manifestPath] = {
26
source: function() {
0 commit comments