jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/391896 )
Change subject: Chore: move assets to common
......................................................................
Chore: move assets to common
Both the server and client need the ability to use assets and both are
generated with Webpack in the same way. Move the assets code from
server/ to common/.
Bug: T180623
Change-Id: I541954349c9ddbc40b116400746e0d9a3d7aaf84
---
R src/common/assets/manifest.ts
M src/server/components/html-page.tsx
2 files changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jhernandez: Looks good to me, approved
jenkins-bot: Verified
diff --git a/src/server/assets/manifest.ts b/src/common/assets/manifest.ts
similarity index 100%
rename from src/server/assets/manifest.ts
rename to src/common/assets/manifest.ts
diff --git a/src/server/components/html-page.tsx
b/src/server/components/html-page.tsx
index b9962ef..05d9777 100644
--- a/src/server/components/html-page.tsx
+++ b/src/server/components/html-page.tsx
@@ -1,5 +1,5 @@
import { h } from "preact";
-import { Manifest, asset, scripts, style } from "../assets/manifest";
+import { Manifest, asset, scripts, style } from "../../common/assets/manifest";
import { ChildrenProps } from "../../common/components/preact-utils";
export interface Props extends ChildrenProps {
--
To view, visit https://gerrit.wikimedia.org/r/391896
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I541954349c9ddbc40b116400746e0d9a3d7aaf84
Gerrit-PatchSet: 1
Gerrit-Project: marvin
Gerrit-Branch: master
Gerrit-Owner: Niedzielski <[email protected]>
Gerrit-Reviewer: Jhernandez <[email protected]>
Gerrit-Reviewer: Sniedzielski <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits