Skip to content

Commit a9b99f5

Browse files
author
Ives van Hoorne
committed
Preparations for server side rendering
1 parent a6abd0e commit a9b99f5

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

packages/app/config/webpack.common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ module.exports = {
156156
filename: 'app.html',
157157
template: paths.appHtml,
158158
minify: __PROD__ && {
159-
removeComments: true,
159+
removeComments: false,
160160
collapseWhitespace: true,
161161
removeRedundantAttributes: true,
162162
useShortDoctype: true,

packages/app/src/app/index.html

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
<meta property="og:type" content="website">
88
<meta property="og:author" content='https://ivesvh.com'>
99
<meta property="og:title" content="CodeSandbox">
10+
<meta property="og:site_name" content="CodeSandbox">
1011
<meta property="og:description" content="CodeSandbox is an online editor tailored for web applications.">
1112
<meta property="og:image" content="https://codesandbox.io/static/img/banner.png">
1213
<meta property="og:image:width" content="1200">
1314
<meta property="og:image:height" content="630">
1415
<meta property="twitter:card" content="summary_large_image">
15-
<meta property="twitter:site" content="@CompuIves">
16-
<meta property="twitter:creator" content='@CompuIves'>
16+
<meta property="twitter:site" content="@codesandboxapp">
1717
<meta property="twitter:title" content="CodeSandbox - Editor">
1818
<meta property="twitter:description" content="An online editor tailored for web application development.">
1919
<meta property="twitter:image:src" content="https://codesandbox.io/static/img/banner.png">
@@ -23,6 +23,9 @@
2323
<link rel="shortcut icon" href="./favicon.ico">
2424
<link rel="manifest" href="/manifest.json">
2525
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Source+Code+Pro:500" rel="stylesheet">
26+
<!-- Injected by server: -->
27+
<!-- {{OEMBED TAG}} -->
28+
2629
<title>CodeSandbox</title>
2730

2831
<!-- AMD Loader for Monaco -->
@@ -83,16 +86,6 @@
8386
</svg>
8487
</div>
8588
</div>
86-
<!--
87-
This HTML file is a template.
88-
If you open it directly in the browser, you will see an empty page.
89-
90-
You can add webfonts, meta tags, or analytics to this file.
91-
The build step will place the bundled scripts into the <body> tag.
92-
93-
To begin the development, run `npm start` in this folder.
94-
To create a production bundle, use `npm run build`.
95-
-->
9689
</body>
9790

9891
</html>

0 commit comments

Comments
 (0)