Skip to content

Commit a966d4a

Browse files
chore: use v-mapbox
1 parent ace57a0 commit a966d4a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

build/rollup.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default [
1919
commonjs(),
2020
vue(),
2121
],
22-
external: ['@mapbox/mapbox-gl-geocoder', 'vue-mapbox'],
22+
external: ['@mapbox/mapbox-gl-geocoder', 'v-mapbox'],
2323
},
2424
// CommonJS build
2525
{
@@ -37,7 +37,7 @@ export default [
3737
commonjs(),
3838
vue(),
3939
],
40-
external: ['@mapbox/mapbox-gl-geocoder', 'vue-mapbox'],
40+
external: ['@mapbox/mapbox-gl-geocoder', 'v-mapbox'],
4141
},
4242
// UMD build.
4343
{
@@ -48,7 +48,7 @@ export default [
4848
file: 'dist/v-mapbox-geocoder.js',
4949
globals: {
5050
'@mapbox/mapbox-gl-geocoder': 'MapboxGeocoder',
51-
'vue-mapbox': 'vueMapbox',
51+
'v-mapbox': 'vMapbox',
5252
},
5353
},
5454
plugins: [
@@ -59,6 +59,6 @@ export default [
5959
commonjs(),
6060
vue(),
6161
],
62-
external: ['@mapbox/mapbox-gl-geocoder', 'vue-mapbox'],
62+
external: ['@mapbox/mapbox-gl-geocoder', 'v-mapbox'],
6363
},
6464
];

build/rollup.min.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default {
1111
file: 'dist/v-mapbox-geocoder.min.js',
1212
globals: {
1313
'@mapbox/mapbox-gl-geocoder': 'MapboxGeocoder',
14-
'vue-mapbox': 'vueMapbox',
14+
'v-mapbox': 'vMapbox',
1515
},
1616
},
1717
plugins: [
@@ -23,5 +23,5 @@ export default {
2323
terser(),
2424
vue(),
2525
],
26-
external: ['@mapbox/mapbox-gl-geocoder', 'vue-mapbox'],
26+
external: ['@mapbox/mapbox-gl-geocoder', 'v-mapbox'],
2727
};

src/GeocoderControl.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import MapboxGeocoder from '@mapbox/mapbox-gl-geocoder';
2-
import { $helpers } from 'vue-mapbox';
2+
import { $helpers } from 'v-mapbox';
33

44
const geocoderEvents = {
55
clear: 'clear',
@@ -132,4 +132,4 @@ export default {
132132
return null;
133133
},
134134
},
135-
};
135+
};

0 commit comments

Comments
 (0)