mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-04-25 07:47:19 +00:00
20 lines
624 B
JavaScript
20 lines
624 B
JavaScript
/**
|
|
* 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');
|
|
|
|
config.resolve.fallback['http'] = false;
|
|
config.resolve.fallback['fs'] = false;
|
|
|
|
/**
|
|
* 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; |