embedのbootエントリーポイントを分離
This commit is contained in:
parent
bd0b7f90cf
commit
29033bd460
8 changed files with 65 additions and 36 deletions
|
|
@ -7,10 +7,15 @@
|
|||
// よって、devモードとして起動されるときはビルド時に組み込む形としておく。
|
||||
// (pnpm start時はpugファイルの中で静的リソースとして読み込むようになっており、この問題は起こっていない)
|
||||
import '@tabler/icons-webfont/dist/tabler-icons.scss';
|
||||
import { isEmbedPage } from '@/scripts/embed-page.js';
|
||||
|
||||
await main();
|
||||
|
||||
import('@/_boot_.js');
|
||||
if (isEmbedPage()) {
|
||||
import('@/_embed_boot_.js');
|
||||
} else {
|
||||
import('@/_boot_.js');
|
||||
}
|
||||
|
||||
/**
|
||||
* backend/src/server/web/boot.jsで差し込まれている起動処理のうち、最低限必要なものを模倣するための処理
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue