Skip to content

Commit e4585f4

Browse files
committed
Changed way how Sitemap plugin is loaded into Quasar config
1 parent 4888172 commit e4585f4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

quasar.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
const { configure } = require("quasar/wrappers");
1212
const path = require("path");
1313
const fs = require("fs");
14+
const SiteMap = require("vite-plugin-sitemap").default;
1415

1516
function getRoutes() {
1617
const files = fs
@@ -109,8 +110,6 @@ module.exports = configure(function (ctx) {
109110
// distDir
110111

111112
extendViteConf(viteConf, { isClient, isServer }) {
112-
// SiteMap
113-
const SiteMap = require("vite-plugin-sitemap");
114113
viteConf.plugins.push(
115114
SiteMap({
116115
hostname: `https://` + getHostname(),

0 commit comments

Comments
 (0)