We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 45d58d2 + 821f9d2 commit 37bd091Copy full SHA for 37bd091
.gitignore
@@ -6,4 +6,5 @@ coverage
6
test.js
7
bench.js
8
mod.d.ts
9
-mod.js
+mod.js
10
+esm
package.json
@@ -4,6 +4,7 @@
4
"description": "Fastest Levenshtein distance implementation in JS.",
5
"main": "mod.js",
"types": "mod.d.ts",
+ "module": "./esm/mod.esm.js",
"repository": {
"type": "git",
"url": "git+https://github.com/ka-weihe/fastest-levenshtein.git"
tsconfig.esm.json
@@ -0,0 +1,14 @@
1
+{
2
+ "compilerOptions": {
3
+ "target": "ES2015",
+ "module": "esnext",
+ "declaration": true,
+ "declarationMap": true,
+ "strict": true,
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "forceConsistentCasingInFileNames": true,
11
+ "outDir": "esm"
12
+ },
13
+ "include": ["./mod.ts"]
14
+}
0 commit comments