Skip to content

custom-functions-metadata-plugin: type annotation is wrong #938

@akiomik

Description

@akiomik

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[].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions