diff --git a/rescript.json b/rescript.json index b89e79d4..eb43c1ac 100644 --- a/rescript.json +++ b/rescript.json @@ -8,6 +8,7 @@ "WebAPI.File": ["WebAPI.Event", "File"], "WebAPI.URL": ["WebAPI.DOM", "URL"], "WebAPI.Fetch": ["WebAPI.Event", "WebAPI.File", "WebAPI.URL", "Fetch"], + "WebAPI.Crypto": ["WebAPI.DOM", "Crypto"], "WebAPI.Performance": ["WebAPI.Event", "Performance"], "WebAPI.ViewTransitions": ["WebAPI.Event", "ViewTransitions"] }, @@ -536,9 +537,9 @@ ] }, { - "dir": "src/WebCrypto", + "dir": "src/crypto", "subdirs": true, - "feature": "WebAPI.WebCrypto", + "feature": "Crypto", "public": [ "Crypto", "SubtleCrypto" diff --git a/src/WebCrypto/Crypto.res b/src/crypto/Crypto.res similarity index 100% rename from src/WebCrypto/Crypto.res rename to src/crypto/Crypto.res diff --git a/src/WebCrypto/SubtleCrypto.res b/src/crypto/SubtleCrypto.res similarity index 100% rename from src/WebCrypto/SubtleCrypto.res rename to src/crypto/SubtleCrypto.res diff --git a/src/WebCrypto/WebCryptoTypes.res b/src/crypto/WebCryptoTypes.res similarity index 100% rename from src/WebCrypto/WebCryptoTypes.res rename to src/crypto/WebCryptoTypes.res