Browse Source

chore: suppress an irrelevant <tr> warning from Vue

tophf 2 months ago
parent
commit
bf6ec67e6e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      scripts/webpack.conf.js

+ 4 - 0
scripts/webpack.conf.js

@@ -82,6 +82,10 @@ module.exports = [
     config.plugins.push(new ListBackgroundScriptsPlugin({
       minify: false, // keeping readable
     }));
+    (config.ignoreWarnings ??= []).push({
+      // suppressing a false warning (the HTML spec allows it) as we don't need SSR
+      message: /<tr> cannot be child of <table>/,
+    });
   }),
 
   buildConfig('injected', './src/injected', (config) => {