chore: add webpack export type check (#21857)

add webpack export type check

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
Percy Ma
2022-11-19 01:01:06 +08:00
committed by GitHub
parent 20385b52a3
commit 6da8bc6be9

View File

@ -47,6 +47,7 @@ const filterCssImport = (url, ...args) => {
return true; return true;
}; };
/** @type {import("webpack").Configuration} */
export default { export default {
mode: isProduction ? 'production' : 'development', mode: isProduction ? 'production' : 'development',
entry: { entry: {