Skip to content

Commit 95804b7

Browse files
committed
✍️ fixed typings
1 parent ff396c7 commit 95804b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ts/utility/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import * as fs from "fs";
22
import * as path from "path";
33
import * as toml from "toml";
4+
import * as webpack from "webpack";
45
import * as gitBranch from "git-branch";
56

67
import { Netlify } from "../netlify";
@@ -28,7 +29,7 @@ export const composeWebpackEntry = (netlifyConfig: Netlify.Config) => {
2829
}, {});
2930
};
3031

31-
export const composeWebpackOutput = (netlifyConfig: Netlify.Config): { path: string, filename: string, libraryTarget: string} => {
32+
export const composeWebpackOutput = (netlifyConfig: Netlify.Config): { path: string, filename: string, libraryTarget: webpack.LibraryTarget} => {
3233
return {
3334
path: path.join(process.cwd(), netlifyConfig.build.functions),
3435
filename: "[name].js",

0 commit comments

Comments
 (0)