- One example of a convention within Angular 2 is creating a folder for our components with all of the files needed for that part of our ui.
- For example,
- In this example let’s the finished version of our loader that we can refer to as
This configuration is telling webpack that we want to overload the part of the webpack bundling process and include extra .
- Again the loaders, within webpack, simply transforms the file before returning it.
- For example if we had something like
The value will be ran against our RegExp
Because our value is tested then our loader is going to run on this file which is a large string
We can see that our is transforming the string value.
Which skill level is the ideal audience for this? Automated Angular 2 Conventions with Webpack > https://t.co/GdeSexTyLG
— AngularJS News (@AngularJS_News) August 1, 2017
Tweets by AngularClass