I'm trying to understand the bundle system that uses ionic, as i can figure out it uses awesome-typescript-loader
inside webpack to transpile the code to ES5, but there are a lot of options there that i don't understand:
- The
entry
key in the exports is for requiring the dependencies fromnode_modules
and the entry point in the app? am i right or does it do anything else? - The
resolve
part is for setting some aliases to shorten some requires but what's theextension
part inside it? - The
module
that contains thenoParse
andloaders
part is the most weird, doesnoParse
means that ones doesn't get transpiled? why's there 2 loaders for js? because the firs one is for the app and the second one is for the angular dependencies? - When comparing to the Getting started part of the github page for the
awesome-typescript-loader
module the config options were smaller, what's the reason for all that options?
I'm lost here, is there someone so kind to show me the path to ilumination?