@teambit/react 1.0.1270 → 1.0.1272
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/{492.180f469598a0f4d71921.js → 252.fcb6895a28ed1fe586fb.js} +2 -2
- package/artifacts/env-template/public/{290.bba6c69248719fe6a37b.js → 314.827c87b12f3eb5daca5d.js} +2 -2
- package/artifacts/env-template/public/{933.5a313cd8f5559059100b.js → 370.44fadecdffcd979b37f6.js} +1 -1
- package/artifacts/env-template/public/assets-manifest.json +16 -16
- package/artifacts/env-template/public/{compositions.3e7b2016ee15611078ac.js → compositions.d99e8a7a00783ad222cd.js} +2 -2
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/{overview.6577b1704290d86628a5.js → overview.8a29d9bca43f6822dd9e.js} +2 -2
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/{preview-root.032d48b6990f4d54a037.js → preview-root.5e4f99bb16d37be7b4be.js} +1 -1
- package/{compositions-1793216382803.js → compositions-1793284508351.js} +2 -2
- package/dist/apps/web/react.application.js +2 -2
- package/dist/apps/web/react.application.js.map +1 -1
- package/dist/{preview-1793216382803.js → preview-1793284508351.js} +2 -2
- package/{overview-1793216382803.js → overview-1793284508351.js} +2 -2
- package/package.json +23 -23
- /package/artifacts/env-template/public/{peers.ec2d28740a7e905b8d19.js → peers.11c0c81bb4bb25030825.js} +0 -0
- /package/artifacts/env-template/public/static/css/{492.97944f20.css → 252.97944f20.css} +0 -0
|
@@ -118,7 +118,7 @@ export class ReactApp implements Application {
|
|
|
118
118
|
html: htmlConfig,
|
|
119
119
|
targets: [
|
|
120
120
|
{
|
|
121
|
-
entries: await this.getEntries(),
|
|
121
|
+
entries: await this.getEntries(context.hostRootDir),
|
|
122
122
|
components: [context.appComponent],
|
|
123
123
|
outputPath: resolve(context.workdir, calcOutputPath(context.appName, 'browser')),
|
|
124
124
|
hostDependencies: this.getHostDependencies(),
|
|
@@ -324,7 +324,7 @@ export class ReactApp implements Application {
|
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
private async getDevServerContext(context: AppContext): Promise<DevServerContext> {
|
|
327
|
-
const entries = await this.getEntries();
|
|
327
|
+
const entries = await this.getEntries(context.hostRootDir);
|
|
328
328
|
return Object.assign(context, {
|
|
329
329
|
entry: entries,
|
|
330
330
|
rootPath: '',
|