do11y 0.5.3 → 0.5.4
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.
- package/dist/docs/vite-config.js +2 -2
- package/package.json +1 -1
package/dist/docs/vite-config.js
CHANGED
|
@@ -33,11 +33,11 @@ const getPlugin = async (plugin) => {
|
|
|
33
33
|
const getUserPlugins = async (userViteConfig) => {
|
|
34
34
|
const userPlugins = userViteConfig.plugins?.map(async (p) => await getPlugin(p)) ?? [];
|
|
35
35
|
const resolvedUserPlugins = (await Promise.all(userPlugins)).flat();
|
|
36
|
-
const vuePluginApi = resolvedUserPlugins.find((p) => p.name === "vite:vue")
|
|
36
|
+
const vuePluginApi = resolvedUserPlugins.find((p) => p.name === "vite:vue")?.api;
|
|
37
37
|
const VuePlugin = (await import("@vitejs/plugin-vue")).default;
|
|
38
38
|
return [
|
|
39
39
|
VuePlugin({
|
|
40
|
-
...vuePluginApi
|
|
40
|
+
...vuePluginApi?.options,
|
|
41
41
|
include: [/\.vue$/, /\.md$/],
|
|
42
42
|
exclude: [
|
|
43
43
|
/\.vue\?meta$/,
|