Skip to content

Commit 22451c7

Browse files
committed
fix react web view for latest webpack
1 parent 7bada36 commit 22451c7

File tree

3 files changed

+572
-540
lines changed

3 files changed

+572
-540
lines changed

src/editor/ReactWebView.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class ReactWebView {
144144
const runTimeScript = document.createElement('script')
145145
runTimeScript.nonce = getNonce()
146146
nonces.push(runTimeScript.nonce)
147-
runTimeScript.src = createUri(path.join(rootPath, manifest.files['runtime~main.js']))
147+
runTimeScript.src = createUri(path.join(rootPath, manifest.files['runtime-main.js']))
148148

149149
document.body.appendChild(runTimeScript)
150150

0 commit comments

Comments
 (0)