mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-02 14:49:44 +08:00
feat: init renderer server (#8088)
This commit is contained in:
@@ -13,7 +13,7 @@ import { createWebpackConfig } from '../webpack/webpack.config.js';
|
||||
|
||||
const flags: BuildFlags = {
|
||||
distribution:
|
||||
(process.env.DISTRIBUTION as BuildFlags['distribution']) ?? 'browser',
|
||||
(process.env.DISTRIBUTION as BuildFlags['distribution']) ?? 'web',
|
||||
mode: 'development',
|
||||
static: false,
|
||||
channel: 'canary',
|
||||
@@ -42,7 +42,7 @@ const buildFlags = process.argv.includes('--static')
|
||||
message: 'Distribution',
|
||||
options: [
|
||||
{
|
||||
value: 'browser',
|
||||
value: 'web',
|
||||
},
|
||||
{
|
||||
value: 'desktop',
|
||||
@@ -54,7 +54,7 @@ const buildFlags = process.argv.includes('--static')
|
||||
value: 'mobile',
|
||||
},
|
||||
],
|
||||
initialValue: 'browser',
|
||||
initialValue: 'web',
|
||||
}),
|
||||
mode: () =>
|
||||
p.select({
|
||||
|
||||
Reference in New Issue
Block a user