File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 35
35
" Other"
36
36
],
37
37
"main" : " ./dist/extension.js" ,
38
- "browser" : " ./dist/web/extension.js" ,
39
38
"contributes" : {
40
39
"configuration" : {
41
40
"title" : " HackMD" ,
227
226
"devDependencies" : {
228
227
"@babel/preset-react" : " ^7.18.6" ,
229
228
"@babel/preset-typescript" : " ^7.18.6" ,
230
- "@vscode/test-web" : " *" ,
231
229
"@types/glob" : " ^7.1.1" ,
232
230
"@types/jquery" : " ^3.3.30" ,
233
231
"@types/mocha" : " ^5.2.6" ,
236
234
"@types/vscode" : " ^1.74.0" ,
237
235
"@typescript-eslint/eslint-plugin" : " ^5.47.1" ,
238
236
"@typescript-eslint/parser" : " ^5.47.1" ,
237
+ "@vscode/test-web" : " *" ,
239
238
"abcjs" : " ^5.8.0" ,
240
239
"babel-loader" : " ^9.1.0" ,
241
240
"css-loader" : " ^6.7.3" ,
Original file line number Diff line number Diff line change @@ -47,8 +47,12 @@ const extensionConfig = {
47
47
performance : {
48
48
hints : false ,
49
49
} ,
50
+ experiments : {
51
+ topLevelAwait : true ,
52
+ } ,
50
53
} ;
51
54
55
+ /*
52
56
const browserTargetConfig = cloneDeep(extensionConfig);
53
57
54
58
browserTargetConfig.mode = 'none';
@@ -75,6 +79,7 @@ browserTargetConfig.plugins = [
75
79
RUNTIME: 'browser',
76
80
}),
77
81
];
82
+ */
78
83
79
84
/**@type {import('webpack').Configuration }*/
80
85
const pageConfig = {
@@ -145,4 +150,4 @@ const pageConfig = {
145
150
] ,
146
151
} ;
147
152
148
- module . exports = [ extensionConfig , pageConfig , browserTargetConfig ] ;
153
+ module . exports = [ extensionConfig , pageConfig /* browserTargetConfig */ ] ;
You can’t perform that action at this time.
0 commit comments