We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b5ff7b commit 830b939Copy full SHA for 830b939
scripts/verify-package-json.js
@@ -9,5 +9,5 @@ const fs = require('fs');
9
const jsonPath = path.resolve(__dirname, '../package.json');
10
const json = JSON.parse(fs.readFileSync(jsonPath) + '');
11
json.main = './dist/cjs/index.js';
12
- fs.writeFileSync(jsonPath, JSON.stringify(json, null, 2));
+ fs.writeFileSync(jsonPath, JSON.stringify(json, null, 2) + '\n');
13
})();
0 commit comments