We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7bfe6e commit 79306e8Copy full SHA for 79306e8
src/index.ts
@@ -1,11 +1,11 @@
1
-import {WebpackConfig, get, literalReplace} from '@easy-webpack/core'
+import {WebpackConfigWithMetadata, get, literalReplace} from '@easy-webpack/core'
2
const DefinePlugin = require('webpack/lib/DefinePlugin')
3
4
/**
5
* @param externals list packages that should be used as node modules, directly from node_modules (without bundling)
6
*/
7
export = function electron({externals = []} = {}) {
8
- return function electron(this: WebpackConfig): WebpackConfig {
+ return function electron(this: WebpackConfigWithMetadata): WebpackConfigWithMetadata {
9
return {
10
output: literalReplace<any>({
11
path: this.output.path,
0 commit comments