Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8c72738

Browse files
committed
cleanup logs
1 parenta058eff commit8c72738

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

‎src/editor/ReactWebView.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class ReactWebView {
137137
conststyles=[
138138
'main.css',
139139
// get style chunk
140-
Object.keys(manifest.files).find(f=>f.match(/^static\/css\/.+\.css$/))||''
140+
//Object.keys(manifest.files).find(f => f.match(/^static\/css\/.+\.css$/)) || ''
141141
].map(style=>getSrc(style))
142142

143143
// map over scripts
@@ -165,8 +165,7 @@ class ReactWebView {
165165
<title>React App</title>
166166
<link rel='manifest' href='./manifest.json' />
167167
168-
<!-- TODO: load styles through package -->
169-
<!-- <link rel='stylesheet' href='https://unpkg.com/@alifd/next/dist/next.css' /> -->
168+
<link rel='stylesheet' href='https://unpkg.com/@alifd/next/dist/next.css' />
170169
${styles.map(styleUri=>`<link rel='stylesheet' type='text/css' href='${styleUri}'>`).join('\n')}
171170
172171
<meta http-equiv='Content-Security-Policy' content="font-src *; img-src vscode-resource: https:; script-src${scripts.map(script=>`'nonce-${script.nonce}'`).join(' ')}; style-src vscode-resource: 'unsafe-inline' http: https: data:;">
@@ -180,8 +179,6 @@ class ReactWebView {
180179
</body>
181180
</html>`
182181

183-
console.log(indexHtml)
184-
185182
returnindexHtml
186183
}
187184

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp