mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
refactor: webpack config (#11421)
This commit is contained in:
@@ -17,7 +17,7 @@ if (typeof window !== 'undefined') {
|
||||
debug.enable('*');
|
||||
console.warn('Debug logs enabled');
|
||||
}
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
if (BUILD_CONFIG.debug) {
|
||||
debug.enable('*,-micromark');
|
||||
console.warn('Debug logs enabled');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user