Remove attribute type="text/css" from <style> tags
Closes #939 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
2749491467
commit
d05eb96ac6
@ -6,6 +6,14 @@ module.exports = {
|
|||||||
// remove the prefetch plugin
|
// remove the prefetch plugin
|
||||||
config.plugins.delete("prefetch");
|
config.plugins.delete("prefetch");
|
||||||
},
|
},
|
||||||
|
configureWebpack: (config) => {
|
||||||
|
const miniCssExtractPlugin = config.plugins.find(
|
||||||
|
(plugin) => plugin.constructor.name === "MiniCssExtractPlugin"
|
||||||
|
);
|
||||||
|
if (miniCssExtractPlugin) {
|
||||||
|
miniCssExtractPlugin.options.linkType = false;
|
||||||
|
}
|
||||||
|
},
|
||||||
pwa: {
|
pwa: {
|
||||||
themeColor: "#ffd599", //not required for service worker, but place theme color here if manifest.json doesn't change the color
|
themeColor: "#ffd599", //not required for service worker, but place theme color here if manifest.json doesn't change the color
|
||||||
workboxPluginMode: "InjectManifest",
|
workboxPluginMode: "InjectManifest",
|
||||||
|
Loading…
Reference in New Issue
Block a user