Web: Login/Editor: fixed showing warnings about request as expression
This commit is contained in:
parent
a3f344712b
commit
65f1b61998
@ -1,3 +1,5 @@
|
||||
const FilterWarningsPlugin = require("webpack-filter-warnings-plugin");
|
||||
|
||||
const scriptExtensions = /\.(tsx|ts|js|jsx|mjs)$/;
|
||||
const imageExtensions = /\.(bmp|gif|jpg|jpeg|png)$/;
|
||||
const fontsExtension = /\.(eot|otf|ttf|woff|woff2)$/;
|
||||
@ -46,4 +48,10 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
},
|
||||
plugins: [
|
||||
//ignore the drivers you don't want. This is the complete list of all drivers -- remove the suppressions for drivers you want to use.
|
||||
new FilterWarningsPlugin({
|
||||
exclude: [/Critical dependency/],
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
@ -1,3 +1,5 @@
|
||||
const FilterWarningsPlugin = require("webpack-filter-warnings-plugin");
|
||||
|
||||
const scriptExtensions = /\.(tsx|ts|js|jsx|mjs)$/;
|
||||
const imageExtensions = /\.(bmp|gif|jpg|jpeg|png)$/;
|
||||
const fontsExtension = /\.(eot|otf|ttf|woff|woff2)$/;
|
||||
@ -56,4 +58,10 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
},
|
||||
plugins: [
|
||||
//ignore the drivers you don't want. This is the complete list of all drivers -- remove the suppressions for drivers you want to use.
|
||||
new FilterWarningsPlugin({
|
||||
exclude: [/Critical dependency/],
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user