deploy: current vibn theia state
Made-with: Cursor
This commit is contained in:
23
examples/electron/webpack.config.js
Normal file
23
examples/electron/webpack.config.js
Normal file
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* This file can be edited to customize webpack configuration.
|
||||
* To reset delete this file and rerun theia build again.
|
||||
*/
|
||||
// @ts-check
|
||||
const configs = require('./gen-webpack.config.js');
|
||||
const nodeConfig = require('./gen-webpack.node.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.
|
||||
*/
|
||||
configs[0].module.rules.push({
|
||||
test: /\.js$/,
|
||||
loader: require.resolve('@theia/application-manager/lib/expose-loader')
|
||||
});
|
||||
|
||||
|
||||
module.exports = [
|
||||
...configs,
|
||||
nodeConfig.config
|
||||
];
|
||||
Reference in New Issue
Block a user