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 ff396c7 commit 95804b7Copy full SHA for 95804b7
src/ts/utility/config.ts
@@ -1,6 +1,7 @@
1
import * as fs from "fs";
2
import * as path from "path";
3
import * as toml from "toml";
4
+import * as webpack from "webpack";
5
import * as gitBranch from "git-branch";
6
7
import { Netlify } from "../netlify";
@@ -28,7 +29,7 @@ export const composeWebpackEntry = (netlifyConfig: Netlify.Config) => {
28
29
}, {});
30
};
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} => {
33
return {
34
path: path.join(process.cwd(), netlifyConfig.build.functions),
35
filename: "[name].js",
0 commit comments