From 32e3a57bd7554553105af01027aaeb4ce8195544 Mon Sep 17 00:00:00 2001 From: Bogdan Bodnar Date: Thu, 26 Dec 2019 23:54:30 +0100 Subject: [PATCH] Fix source files path. --- package.json | 2 +- scripts/collect_files.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e3aeb43..d958a6e 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "reforis" ], "license": "GPL-3.0", - "main": "index.js", + "main": "./src/index.js", "dependencies": { "axios": "^0.19.0", "jest-transform-css": "^2.0.0", diff --git a/scripts/collect_files.sh b/scripts/collect_files.sh index 2ea7534..1c8687c 100644 --- a/scripts/collect_files.sh +++ b/scripts/collect_files.sh @@ -2,7 +2,7 @@ # Collect files mkdir -p dist -cp -rf ./src/* dist +cp -rf ./src dist cp package.json package-lock.json README.md dist cp -rf translations dist # Remove unwanted files