There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
refactor : remove redundant if
CarlosZoft1ee537902208
diff --git a/apps/ligo-virgo/webpack.config.js b/apps/ligo-virgo/webpack.config.jsindex edb5305b2b..fffec29165 100644--- a/apps/ligo-virgo/webpack.config.js+++ b/apps/ligo-virgo/webpack.config.js@@ -34,11 +34,6 @@ module.exports = function (webpackConfig) {if (isProd) {config.module.rules.unshift(style9);- } else {- config.module.rules.push(style9);- }-- if (isProd) {config.entry = {main: [...config.entry.main, ...config.entry.polyfills],};@@ -133,6 +128,7 @@ module.exports = function (webpackConfig) {});config.module.rules.splice(6);} else {+ config.module.rules.push(style9);config.output = {...config.output,publicPath: '/',diff --git a/apps/venus/webpack.config.js b/apps/venus/webpack.config.jsindex 9b5aba0eef..c325851149 100644--- a/apps/venus/webpack.config.js+++ b/apps/venus/webpack.config.js@@ -35,11 +35,6 @@ module.exports = function (webpackConfig) {if (isProd) {config.module.rules.unshift(style9);- } else {- config.module.rules.push(style9);- }-- if (isProd) {config.entry = {main: [...config.entry.main, ...config.entry.polyfills],};@@ -124,6 +119,7 @@ module.exports = function (webpackConfig) {});config.module.rules.splice(6);} else {+ config.module.rules.push(style9);config.output = {...config.output,publicPath: '/',