Skip to content

Commit

Permalink
fix(webpack.config.js): check into git
Browse files Browse the repository at this point in the history
close #134
  • Loading branch information
duncdrum authored and marcdumais-work committed Aug 12, 2021
1 parent cfc76da commit 4d7bde3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
**/dist
**/lib
**/src-gen
**/webpack.config.js
**/gen-webpack.config.js
**/plugins
**/tsconfig.tsbuildinfo
Expand Down
17 changes: 17 additions & 0 deletions applications/electron/webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* This file can be edited to customize webpack configuration.
* To reset delete this file and rerun theia build again.
*/
// @ts-check
const config = require('./gen-webpack.config.js');

/**
* Expose bundled modules on window.theia.moduleName namespace, e.g.
* window['theia']['@theia/core/lib/common/uri'].
* Such syntax can be used by external code, for instance, for testing.
config.module.rules.push({
test: /\.js$/,
loader: require.resolve('@theia/application-manager/lib/expose-loader')
}); */

module.exports = config;

0 comments on commit 4d7bde3

Please sign in to comment.