Skip to content

Commit

Permalink
Remove obsolete node polyfill from tree editor extension
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Koehler <[email protected]>
  • Loading branch information
lucas-koehler authored and vince-fugnitto committed Oct 25, 2022
1 parent cb41111 commit 163c610
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 29 deletions.
1 change: 0 additions & 1 deletion src/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ module.exports = class TheiaExtension extends Base {
this.params.browserDevDependencies = '';
if (this.params.extensionType === ExtensionType.TreeEditor) {
this.params.dependencies = `,\n "@theia/editor": "${this.params.theiaVersion}",\n "@theia/filesystem": "${this.params.theiaVersion}",\n "@theia/workspace": "${this.params.theiaVersion}",\n "@eclipse-emfcloud/theia-tree-editor": "next",\n "uuid": "^3.3.2"`;
this.params.browserDevDependencies = `,\n "node-polyfill-webpack-plugin": "latest"`;
}
if (this.params.extensionType === ExtensionType.Widget) {
this.params.devdependencies = `,\n "@testing-library/react": "^11.2.7",\n "@types/jest": "^26.0.20",\n "jest": "^26.6.3",\n "ts-node": "^10.9.1",\n "ts-jest": "^26.5.6"`;
Expand Down
7 changes: 0 additions & 7 deletions src/browser/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,5 @@ module.exports = class TheiaBrowser extends Base {
params
}
);
if (params.extensionType === 'tree-editor') {
this.fs.copyTpl(
this.templatePath('app-browser-webpack-config.js'),
this.destinationPath('browser-app/webpack.config.js'),
{}
);
}
}
}
21 changes: 0 additions & 21 deletions templates/app-browser-webpack-config.js

This file was deleted.

0 comments on commit 163c610

Please sign in to comment.