Update name of lib

This commit is contained in:
Maximilian Ammann 2022-04-26 11:58:07 +02:00
parent c2561aff18
commit 5e545030c3
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
import { startMapLibre } from 'maplibre_rs'
import { startMapLibre } from 'maplibre-rs'
if (process.env.CJS) {
// When bundling a CJS library, webpack can not know where to find the wasm file or the WebWorker. So we need to

View File

@ -9,7 +9,7 @@
"version": "0.0.1",
"license": "MIT",
"dependencies": {
"maplibre_rs": "file:../lib"
"maplibre-rs": "file:../lib"
},
"devDependencies": {
"copy-webpack-plugin": "^10.2.4",
@ -26,7 +26,7 @@
"extraneous": true
},
"../lib": {
"name": "maplibre_rs",
"name": "maplibre-rs",
"version": "0.0.1",
"license": "MIT",
"dependencies": {
@ -2280,7 +2280,7 @@
"node": ">=10"
}
},
"node_modules/maplibre_rs": {
"node_modules/maplibre-rs": {
"resolved": "../lib",
"link": true
},
@ -5886,7 +5886,7 @@
"yallist": "^4.0.0"
}
},
"maplibre_rs": {
"maplibre-rs": {
"version": "file:../lib",
"requires": {
"@chialab/esbuild-plugin-env": "^0.15.3",

View File

@ -17,7 +17,7 @@
"url": "https://github.com/maplibre/maplibre-rs"
},
"dependencies": {
"maplibre_rs": "file:../lib"
"maplibre-rs": "file:../lib"
},
"devDependencies": {
"copy-webpack-plugin": "^10.2.4",