mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-06-14 13:36:33 +02:00
Fix main js path in unpacked library.
This commit is contained in:
@ -4,7 +4,10 @@
|
||||
mkdir -p dist
|
||||
cp -rf ./src/* dist
|
||||
cp package.json package-lock.json README.md dist
|
||||
sed -i 's/\/src//g' dist/package.json # remove ./src from main js file path
|
||||
|
||||
cp -rf translations dist
|
||||
|
||||
# Remove unwanted files
|
||||
rm -rf dist/**/__tests__
|
||||
rm -rf dist/__mocks__
|
||||
|
Reference in New Issue
Block a user