rollup-plugin-merge
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -32,6 +32,5 @@ const fs = require('fs'); | ||
try { | ||
createDirIfNotExist(output); | ||
const files = await Promise.all(input.map(i => readFileAsync(i))); | ||
createDirIfNotExist(output); | ||
await writeFileAsync(output, JSON.stringify(merge(...files.map(i => JSON.parse(i))), null, ' ')); | ||
@@ -38,0 +37,0 @@ |
{ | ||
"name": "rollup-plugin-merge", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Rollup plugin to merge JSON files", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4450