@easy-webpack/config-electron-renderer
Advanced tools
Comparing version 1.0.1 to 1.1.0
import { WebpackConfig } from '@easy-webpack/core'; | ||
/** | ||
* @param externals list packages that should be used as node modules, directly from node_modules (without bundling) | ||
*/ | ||
export declare function electronRenderer(): (this: WebpackConfig) => WebpackConfig; | ||
declare var _default: () => (this: WebpackConfig) => WebpackConfig; | ||
export = _default; |
"use strict"; | ||
var core_1 = require('@easy-webpack/core'); | ||
var webpack = require('webpack'); | ||
/** | ||
* @param externals list packages that should be used as node modules, directly from node_modules (without bundling) | ||
*/ | ||
function electronRenderer() { | ||
module.exports = function electronRenderer() { | ||
return function electronRenderer() { | ||
@@ -25,4 +22,3 @@ return { | ||
}; | ||
} | ||
exports.electronRenderer = electronRenderer; | ||
}; | ||
//# sourceMappingURL=index.js.map |
@@ -55,3 +55,3 @@ { | ||
}, | ||
"version": "1.0.1" | ||
"version": "1.1.0" | ||
} |
@@ -7,3 +7,3 @@ import {WebpackConfig, get} from '@easy-webpack/core' | ||
*/ | ||
export function electronRenderer() { | ||
export = function electronRenderer() { | ||
return function electronRenderer(this: WebpackConfig): WebpackConfig { | ||
@@ -10,0 +10,0 @@ return { |
Sorry, the diff of this file is not supported yet
6457
84