@teambit/react 1.0.467 → 1.0.469
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apps/web/react.application.ts +2 -2
- package/artifacts/env-template/public/{739.8868b904008fe833ddef.js → 733.d91099a0f05b0664ffe8.js} +2 -2
- package/artifacts/env-template/public/{8.94ad5973c56a574e6eb9.js → 8.f0667c9837f400c58180.js} +5 -5
- package/artifacts/env-template/public/{772.c085ddd58a47b6002e07.js → 833.5ff44247432b70c159c8.js} +13 -13
- package/artifacts/env-template/public/assets-manifest.json +14 -14
- package/artifacts/env-template/public/{compositions.0fb939f47badcefba461.js → compositions.5e4437e05552fc27ac17.js} +1 -1
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/overview.2a03ec8c9e3a0cecfc79.js +1 -0
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/{peers.8b627f1bc2aef4650e0b.js → peers.e0c449e80382b2338c95.js} +1 -1
- package/artifacts/env-template/public/{preview-root.75d2c9a6c48d70e5c905.js → preview-root.c73d47f5f89c233031f7.js} +1 -1
- package/{compositions-1731986398447.js → compositions-1732159179791.js} +1 -1
- package/dist/apps/web/react.application.d.ts +3 -2
- package/dist/apps/web/react.application.js.map +1 -1
- package/dist/{preview-1731986398447.js → preview-1732159179791.js} +2 -2
- package/{overview-1731986398447.js → overview-1732159179791.js} +1 -1
- package/package.json +29 -29
- package/artifacts/env-template/public/overview.0eb1ce468e5c91dc068b.js +0 -1
|
@@ -12,13 +12,13 @@ import { BitError } from '@teambit/bit-error';
|
|
|
12
12
|
import { ReactEnv } from '../../react.env';
|
|
13
13
|
import { prerenderPlugin } from './plugins';
|
|
14
14
|
import { ReactAppBuildResult } from './react-build-result';
|
|
15
|
-
import { ReactAppPrerenderOptions } from './react-app-options';
|
|
16
15
|
import { html } from '../../webpack';
|
|
17
16
|
import { ReactDeployContext } from './deploy-context';
|
|
18
17
|
import { computeResults } from './compute-results';
|
|
19
18
|
import { clientConfig, ssrConfig, calcOutputPath, ssrBuildConfig, buildConfig } from './webpack/webpack.app.ssr.config';
|
|
20
19
|
import { addDevServer, setOutput, replaceTerserPlugin, setDevServerClient } from './webpack/mutators';
|
|
21
20
|
import { createExpressSsr, loadSsrApp, parseAssets } from './ssr/ssr-express';
|
|
21
|
+
import { WebpackPrerenderSPAOptions } from './plugins/prerender';
|
|
22
22
|
|
|
23
23
|
export class ReactApp implements Application {
|
|
24
24
|
constructor(
|
|
@@ -29,7 +29,7 @@ export class ReactApp implements Application {
|
|
|
29
29
|
private reactEnv: ReactEnv,
|
|
30
30
|
private logger: Logger,
|
|
31
31
|
private dependencyResolver: DependencyResolverMain,
|
|
32
|
-
readonly prerender?:
|
|
32
|
+
readonly prerender?: WebpackPrerenderSPAOptions,
|
|
33
33
|
readonly bundler?: Bundler,
|
|
34
34
|
readonly ssrBundler?: Bundler,
|
|
35
35
|
readonly devServer?: DevServer,
|