the webpack instance, e.g. retrieve via require('webpack')
the existing webpack configuration
app-specific configuration for mmir-lib
HELPER add exclude-condition to module.rule for a list of (mmir) files
the file-list which should be added to the exclude condition
the module rule
expand require.js package definitions & add them to the alias dictionary
TODO extract this function to mmir-tooling?
the mmir root dir (usually node_modules/mmir-lib/lib/ )
dictionary for module ID/alias -> module-path (INOUT parameter)
HELPER check existing module-rules and exclude mmir-files if necessary
the module.rules list of the webpack configuration (INOUT parameter)
the (possibly) modified rules
HELPER test if file matches the module.rule test-condition(s)
the file(-path) to test
the module.rule's condition(s)
the test result
Generated using TypeDoc
apply webpack configuration for mmir-lib to an existing webpack configuration