Skip to content

Commit

Permalink
fix: minor housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayakkulkarni committed Mar 1, 2022
1 parent 8e0f15b commit b24bc9e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/rollup.config.min.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const plugins = [
exclude: 'src/**',
include: 'node_modules/**',
}),
vue({ css: false }),
vue(),
scss({
output: 'dist/v-mapbox.min.css',
// @ts-ignore
Expand Down
2 changes: 1 addition & 1 deletion build/rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const plugins = [
exclude: 'src/**',
include: 'node_modules/**',
}),
vue({ css: false }),
vue(),
scss({
output: 'dist/v-mapbox.css',
sass: require('sass'),
Expand Down
1 change: 1 addition & 0 deletions src/controls/VControlAttribution.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
...props.options,
};
if (slots && slots.default!() && Array.isArray(slots.default!())) {
// @ts-ignore
options.customAttribution = slots.default().at(0).el.data;
}
const control = new AttributionControl(options);
Expand Down

0 comments on commit b24bc9e

Please sign in to comment.