mirror of
https://github.com/gregberge/loadable-components.git
synced 2026-01-25 15:24:15 +00:00
Merge branch 'master' into use-build-ci
This commit is contained in:
commit
a9afc1817b
@ -1 +1 @@
|
||||
export { default } from './App'
|
||||
export { default } from './App.tsx'
|
||||
|
||||
@ -2,7 +2,7 @@ import 'core-js'
|
||||
import React from 'react'
|
||||
import { hydrate } from 'react-dom'
|
||||
import { loadableReady } from '@loadable/component'
|
||||
import App from './App'
|
||||
import App from './App.tsx'
|
||||
|
||||
console.log('waiting for application ready...');
|
||||
loadableReady(() => {
|
||||
|
||||
@ -6,7 +6,7 @@ import { ChunkExtractor } from '@loadable/server'
|
||||
|
||||
const app = express();
|
||||
|
||||
https://github.com/gregberge/loadable-components/issues/634
|
||||
// https://github.com/gregberge/loadable-components/issues/634
|
||||
app.use('*/runtime~main.js', async (req, res, next) => {
|
||||
console.log('delaying runtime chunk');
|
||||
await new Promise(resolve => setTimeout(resolve, 2000));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user