1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: {