Skip to content

Commit 0e44776

Browse files
authored
Merge pull request #6 from LuoSK/fixbug-issue#5
fix: issue 5
2 parents 856fc48 + 9813de2 commit 0e44776

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ManifestVersionSyncPlugin {
2020
const { packagePath, manifestPath } = this.options;
2121
const { version } = JSON.parse(fs.readFileSync(packagePath).toString());
2222
const manifest = JSON.parse(compilation.assets[manifestPath].source().toString());
23-
const content = JSON.stringify({ version, ...manifest }, undefined, 2);
23+
const content = JSON.stringify({ ...manifest, version }, undefined, 2);
2424

2525
compilation.assets[manifestPath] = {
2626
source: function() {

0 commit comments

Comments
 (0)