diff --git a/js/vue.config.js b/js/vue.config.js index 2298e3d43..c4d804ae0 100644 --- a/js/vue.config.js +++ b/js/vue.config.js @@ -6,6 +6,14 @@ module.exports = { // remove the prefetch plugin config.plugins.delete("prefetch"); }, + configureWebpack: (config) => { + const miniCssExtractPlugin = config.plugins.find( + (plugin) => plugin.constructor.name === "MiniCssExtractPlugin" + ); + if (miniCssExtractPlugin) { + miniCssExtractPlugin.options.linkType = false; + } + }, pwa: { themeColor: "#ffd599", //not required for service worker, but place theme color here if manifest.json doesn't change the color workboxPluginMode: "InjectManifest",