Skip to content

Commit

Permalink
Merge pull request #223 from studiometa/renovate/unplugin-vue-5.x
Browse files Browse the repository at this point in the history
Update dependency unplugin-vue to v5
  • Loading branch information
titouanmathis authored Jan 2, 2025
2 parents d0f559f + 87ec491 commit 79e02b9
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 75 deletions.
157 changes: 88 additions & 69 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
},
"dependencies": {
"esbuild": "^0.24.2",
"unplugin-vue": "^4.1.0"
"unplugin-vue": "^5.0.0"
}
}
6 changes: 1 addition & 5 deletions scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ async function build(format = 'esm') {
target: 'es2019',
outExtension: { '.js': format === 'cjs' ? '.cjs' : '.js' },
sourcemap: true,
plugins: [
vue({
sourceMap: true,
}),
],
plugins: [vue({ sourceMap: false })],
external: ['@mapbox/mapbox-gl-geocoder', 'mapbox-gl', 'vue'],
});
writeFileSync(path.resolve(outdir, `meta.${format}.json`), JSON.stringify(result.metafile));
Expand Down

0 comments on commit 79e02b9

Please sign in to comment.