mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-31 21:59:10 +08:00
feat(admin): init project (#7197)
This commit is contained in:
@@ -2,7 +2,7 @@ import { resolve } from 'node:path';
|
||||
|
||||
import { runCli } from '@magic-works/i18n-codegen';
|
||||
|
||||
import { projectRoot } from '../config/index.js';
|
||||
import { projectRoot } from '../config/cwd.cjs';
|
||||
|
||||
const configPath = resolve(projectRoot, '.i18n-codegen.json');
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import { resolve } from 'node:path';
|
||||
|
||||
import { build } from 'vite';
|
||||
|
||||
import { projectRoot } from '../config/index.js';
|
||||
import { projectRoot } from '../config/cwd.cjs';
|
||||
|
||||
const infraFilePath = resolve(
|
||||
projectRoot,
|
||||
|
||||
Reference in New Issue
Block a user