Skip to content

Commit 79306e8

Browse files
committed
fix(index): use the type with metadata
1 parent c7bfe6e commit 79306e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import {WebpackConfig, get, literalReplace} from '@easy-webpack/core'
1+
import {WebpackConfigWithMetadata, get, literalReplace} from '@easy-webpack/core'
22
const DefinePlugin = require('webpack/lib/DefinePlugin')
33

44
/**
55
* @param externals list packages that should be used as node modules, directly from node_modules (without bundling)
66
*/
77
export = function electron({externals = []} = {}) {
8-
return function electron(this: WebpackConfig): WebpackConfig {
8+
return function electron(this: WebpackConfigWithMetadata): WebpackConfigWithMetadata {
99
return {
1010
output: literalReplace<any>({
1111
path: this.output.path,

0 commit comments

Comments
 (0)