diff --git a/compile.sh b/compile.sh index c253d74e..a94f9e57 100755 --- a/compile.sh +++ b/compile.sh @@ -3,11 +3,11 @@ set -e set -x -npx swc -C jsc.experimental.keepImportAssertions=true -d dist/nrfCloud ./nrfCloud -npx swc -C jsc.experimental.keepImportAssertions=true -d dist/hello ./hello -npx swc -C jsc.experimental.keepImportAssertions=true -d dist/validator ./validator -npx swc -C jsc.experimental.keepImportAssertions=true -d dist/generate ./generate -npx swc -C jsc.experimental.keepImportAssertions=true -d dist/fingerprint ./fingerprint +npx swc -C jsc.experimental.keepImportAttributes=true -C jsc.experimental.emitAssertForImportAttributes=true -d dist/nrfCloud ./nrfCloud +npx swc -C jsc.experimental.keepImportAttributes=true -C jsc.experimental.emitAssertForImportAttributes=true -d dist/hello ./hello +npx swc -C jsc.experimental.keepImportAttributes=true -C jsc.experimental.emitAssertForImportAttributes=true -d dist/validator ./validator +npx swc -C jsc.experimental.keepImportAttributes=true -C jsc.experimental.emitAssertForImportAttributes=true -d dist/generate ./generate +npx swc -C jsc.experimental.keepImportAttributes=true -C jsc.experimental.emitAssertForImportAttributes=true -d dist/fingerprint ./fingerprint cp -r ./schemas ./dist mkdir ./dist/nrfcloud-application-protocols -cp -r ./nrfcloud-application-protocols/schemas ./dist/nrfcloud-application-protocols \ No newline at end of file +cp -r ./nrfcloud-application-protocols/schemas ./dist/nrfcloud-application-protocols