From ee24c555dc5858dd2fe16de2782150f816af0376 Mon Sep 17 00:00:00 2001 From: vladyslavparashchenko Date: Sun, 26 Mar 2023 15:47:53 +0300 Subject: [PATCH] fix: fixed readme file path in build script --- scripts/create-pkg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create-pkg.js b/scripts/create-pkg.js index 2d63cf0..c52f58e 100644 --- a/scripts/create-pkg.js +++ b/scripts/create-pkg.js @@ -31,7 +31,7 @@ const finalFileContent = JSON.stringify(destinationPackageContent, null, 4) fs.writeFileSync(path.resolve(__dirname, "../dist/package.json"), finalFileContent) //Copy our readme and license file -const filesToCopy = ["Readme.md", "LICENSE", "CHANGELOG.md"] +const filesToCopy = ["README.md", "LICENSE", "CHANGELOG.md"] for (let file of filesToCopy) { fs.copyFileSync(path.resolve(__dirname, `../${file}`), path.resolve(__dirname, `../dist/${file}`)) }