@vcmap/plugin-cli 2.1.15 → 2.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/serve.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vcmap/plugin-cli",
3
- "version": "2.1.15",
3
+ "version": "2.1.16",
4
4
  "description": "A CLI to help develop and build plugins for the VC Map",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/src/serve.js CHANGED
@@ -119,7 +119,7 @@ export default async function serve(options) {
119
119
 
120
120
  // We exclude ui dependencies from optimization, to allow plugins to use another version of the same plugin.
121
121
  // vitejs seems to have a problem with optimized deps in different versions.
122
- const { dependencies } = await getPackageJson(resolveMapUi([]));
122
+ const { dependencies } = await getPackageJson(resolveMapUi());
123
123
 
124
124
  const excludedOptimizations = Object.keys(dependencies).filter(
125
125
  (name) => !optimizationIncludes.includes(name),