custom-functions-metadata-plugin allows multiple files to be input.
https://github.com/OfficeDev/Office-Addin-Scripts/tree/master/packages/custom-functions-metadata-plugin#webpack-example-webpackconfigjs
new CustomFunctionsMetadataPlugin({
input: [
"./src/functions/someFunctions.js",
"./src/functions/otherFunctions.js"
],
output: "functions.json"
}),
The type of input in Options is string, but it should be string | string[].
|
type Options = { input: string; output: string }; |
custom-functions-metadata-pluginallows multiple files to be input.https://github.com/OfficeDev/Office-Addin-Scripts/tree/master/packages/custom-functions-metadata-plugin#webpack-example-webpackconfigjs
The type of
inputinOptionsisstring, but it should bestring | string[].Office-Addin-Scripts/packages/custom-functions-metadata-plugin/src/customfunctionsplugin.ts
Line 12 in 6b973f8