Alias functions aliasWebpack and aliasJest alway wants alias map - that is not flexible and may be simplified. So if alias map may be loaded from tsconfig/jsconfig it may be omited.
Another problem is impossibility to specify path of tsconfig/jsconfig file, described in #57 which actually is required.
Another problem is #10 where we need to specify baseUrl also as config option.
Therefore API need to be changed. Both functions aliasWebpack and aliasJest will receive options - object with named options.
Alias functions
aliasWebpack
andaliasJest
alway wants alias map - that is not flexible and may be simplified. So if alias map may be loaded from tsconfig/jsconfig it may be omited.Another problem is impossibility to specify path of tsconfig/jsconfig file, described in #57 which actually is required.
Another problem is #10 where we need to specify
baseUrl
also as config option.Therefore API need to be changed. Both functions
aliasWebpack
andaliasJest
will receiveoptions
- object with named options.