Skip to content

Commit f343c7f

Browse files
spinner and inversify error
1 parent 493ddc2 commit f343c7f

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

arduino-ide-extension/src/browser/theia/core/default-window-service.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@ export class DefaultWindowService
1414
async isFirstWindow(): Promise<boolean> {
1515
return true;
1616
}
17-
}
17+
18+
close() {
19+
console.log('close');
20+
}
21+
}

browser-app/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"@theia/cli": "1.41.0"
2626
},
2727
"scripts": {
28+
"build:dev": "theia build --config webpack.config.js --mode development",
2829
"prepare": "theia build --mode development",
2930
"start": "theia start --plugins=local-dir:../plugins",
3031
"watch": "theia build --watch --mode development"

browser-app/webpack.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// @ts-check
66
const config = require('./gen-webpack.config.js');
77

8-
config.resolve.fallback['http'] = false;
9-
config.resolve.fallback['fs'] = false;
8+
config[0].resolve.fallback['http'] = false;
9+
config[0].resolve.fallback['fs'] = false;
1010

1111
/**
1212
* Expose bundled modules on window.theia.moduleName namespace, e.g.

0 commit comments

Comments
 (0)