Remove attribute type="text/css" from <style> tags

Closes #939

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
chapril
Thomas Citharel 8 months ago
parent 2749491467
commit d05eb96ac6
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
  1. 8
      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",

Loading…
Cancel
Save