@@ -137,7 +137,7 @@ class ReactWebView {
137137const styles = [
138138'main.css' ,
139139// get style chunk
140- Object . keys ( manifest . files ) . find ( f => f . match ( / ^ s t a t i c \/ c s s \/ .+ \. c s s $ / ) ) || ''
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-
185182return indexHtml
186183}
187184