declare enum ErrorMessage {
NO_PATTERN = "Please specify a regular expression as the pattern property on the plugin options.",
UNACCEPTABLE_PATTERN_NOT_REGEX = "The unacceptablePattern should be a regular expression",
NO_PROJECT_ROOT = "No project root found! Is your webpack config located underneath the same directory as your project?",
MULTIPLE_LICENSE_AMBIGUITY = "Package {0} contains multiple licenses, defaulting to first one: {1}. Use the licenseTypeOverrides option to specify a specific license for this module.",
UNNACEPTABLE_LICENSE = "Package {0} contains an unacceptable license: {1}",
OUTPUT_TEMPLATE_NOT_EXIST = "Output template file does not exist: {0}",
NO_LICENSE_OVERRIDE_FILE_FOUND = "No license override found for {0} with name {1}",
NO_LICENSE_FILE = "Could not find a license file for {0}, defaulting to license name found in package.json: {1}",
INVALID_MODULES_DIRECTORIES = "Invalid modulesDirectories option. If defined, it should be a nonempty array of strings.",
NO_MODULE_DIRECTORY_FOUND_FOR_MODULE = "Could not find package {0} in any module directory. Please check if this package exists in any of the directories defined by the modulesDirectories option.",
BUILD_ROOT_NOT_EXIST = "Could not find the following specified build root: {0}",
}
export { ErrorMessage };
-
jatuporn Tonggasem authoredcb5cc119