Home / @sym20/extension-webpack-plugin / Options

Options interface

Options to pass to Sym20WebpackPlugin

Signature
export interface Options 

Properties

PropertyTypeDescription
cwdstring

Root folder for the files property. Default: ./dist

entrystring

The entry file of the extension. The file must contain a class implementing IExtension. Default: ./extension.js in the directory given by cwd.

filesstring[]

Array of files to include in the extension. Each entry is a glob, and all files matching will be included

idstring

ID of the extension. Default: Read from the id property of package.json

namestring

Descriptive name of the extension

packageJsonstring

Path to package.json for the extension. Default: package.json in current working dir.

versionstring

Version of the extension. Default: Read from the version property of package.json