Options affecting the normal modules (NormalModuleFactory).

Hierarchy

  • ModuleOptions

Properties

defaultRules?: (RuleSetRule | "...")[]

An array of rules applied by default for modules.

exprContextCritical?: boolean

Enable warnings for full dynamic dependencies.

exprContextRecursive?: boolean

Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRecursive'.

exprContextRegExp?: boolean | RegExp

Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRegExp'.

exprContextRequest?: string

Set the default request for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRequest'.

Specify options for each generator.

noParse?: string | Function | RegExp | (string | Function | RegExp)[]

Don't parse files matching. It's matched against the full resolved request.

Specify options for each parser.

rules?: (RuleSetRule | "...")[]

An array of rules applied for modules.

strictExportPresence?: boolean

Emit errors instead of warnings when imported names don't exist in imported module. Deprecated: This option has moved to 'module.parser.javascript.strictExportPresence'.

strictThisContextOnImports?: boolean

Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to 'module.parser.javascript.strictThisContextOnImports'.

unknownContextCritical?: boolean

Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextCritical'.

unknownContextRecursive?: boolean

Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextRecursive'.

unknownContextRegExp?: boolean | RegExp

Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextRegExp'.

unknownContextRequest?: string

Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextRequest'.

unsafeCache?: boolean | Function

Cache the resolving of module requests.

wrappedContextCritical?: boolean

Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextCritical'.

wrappedContextRecursive?: boolean

Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextRecursive'.

wrappedContextRegExp?: RegExp

Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextRegExp'.

Generated using TypeDoc