File tree Expand file tree Collapse file tree 4 files changed +12
-9
lines changed
Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 77< script defer src ='https://kit.fontawesome.com/c772610440.js ' crossorigin ='anonymous '> </ script >
88< script defer src ='https://cdn.jsdelivr.net/npm/json5@2/dist/index.min.js '> </ script >
99< script src ='https://cdn.jsdelivr.net/npm/mapbox-gl@2.15.0/dist/mapbox-gl.min.js '> </ script >
10- < script src ='https://cdn.jsdelivr.net/npm/@rapideditor/location-conflation@latest/dist/location-conflation.iife.min.js '> </ script >
10+ < script src ='https://cdn.jsdelivr.net/npm/@rapideditor/location-conflation@latest/dist/js/ location-conflation.iife.min.js '> </ script >
1111< link href ='https://cdn.jsdelivr.net/npm/mapbox-gl@2.15.0/dist/mapbox-gl.min.css ' rel ='stylesheet '/>
1212< link href ='style.css ' rel ='stylesheet ' type ='text/css '/>
1313</ head >
Original file line number Diff line number Diff line change 2222 "type" : " module" ,
2323 "exports" : {
2424 "bun" : " ./src/location-conflation.ts" ,
25- "import" : " ./dist/location-conflation.mjs" ,
26- "require" : " ./dist/location-conflation.cjs" ,
27- "browser" : " ./dist/location-conflation.iife.js"
25+ "dist/*" : " ./dist/*" ,
26+ "types" : " ./dist/ts/location-conflation.d.ts" ,
27+ "import" : " ./dist/js/location-conflation.mjs" ,
28+ "require" : " ./dist/js/location-conflation.cjs" ,
29+ "browser" : " ./dist/js/location-conflation.iife.js"
2830 },
2931 "scripts" : {
30- "all" : " run-s clean lint build:js test" ,
32+ "all" : " run-s clean lint build test" ,
3133 "build" : " run-p build:js build:ts" ,
3234 "build:js" : " bun ./scripts/build_js.ts" ,
3335 "build:ts" : " tsc" ,
Original file line number Diff line number Diff line change 22await Promise . all ( [
33 Bun . build ( {
44 entrypoints : [ './src/index.ts' ] ,
5- outdir : './dist' ,
5+ outdir : './dist/js ' ,
66 target : 'browser' ,
77 format : 'iife' ,
88 sourcemap : 'linked' ,
@@ -11,7 +11,7 @@ await Promise.all([
1111
1212 Bun . build ( {
1313 entrypoints : [ './src/location-conflation.ts' ] ,
14- outdir : './dist' ,
14+ outdir : './dist/js ' ,
1515 target : 'node' ,
1616 format : 'cjs' ,
1717 external : [ '*' ] ,
@@ -21,7 +21,7 @@ await Promise.all([
2121
2222 Bun . build ( {
2323 entrypoints : [ './src/location-conflation.ts' ] ,
24- outdir : './dist' ,
24+ outdir : './dist/js ' ,
2525 target : 'node' ,
2626 format : 'esm' ,
2727 external : [ '*' ] ,
Original file line number Diff line number Diff line change 11{
2- "include" : [" src/**/* .ts" ],
2+ "include" : [" src/location-conflation .ts" ],
33 "compilerOptions" : {
44 "module" : " esnext" ,
55 "declaration" : true ,
6+ "declarationDir" : " ./dist/ts" ,
67 "emitDeclarationOnly" : true ,
78 "outDir" : " dist" ,
89 "esModuleInterop" : true ,
You can’t perform that action at this time.
0 commit comments