This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
webpack_complete_webdevelopment_config [2018/02/05 23:24] – [Slide 5] admin | webpack_complete_webdevelopment_config [2018/02/05 23:48] (current) – [Slide 3] admin | ||
---|---|---|---|
Line 24: | Line 24: | ||
* Define " | * Define " | ||
* Workspace will be linked to ./ | * Workspace will be linked to ./ | ||
- | * Dependenies | + | * Dependencies |
* Centralize/ | * Centralize/ | ||
+ | * Compatible with NPM but creates a yarn.lock file | ||
+ | * Commands are slightly different than NPMs (e.g. yarn add packageName) | ||
<code bash Commands> | <code bash Commands> | ||
Line 315: | Line 317: | ||
}; | }; | ||
</ | </ | ||
+ | |||
+ | ===== The Good, the Bad ... ===== | ||
+ | |||
+ | * **Yarn** | ||
+ | * Workspaces | ||
+ | * Smart caching (??) | ||
+ | * Works flawlessly with existing package.json | ||
+ | * **Webpack**: | ||
+ | * Webpack lets you use require() on local " | ||
+ | * https:// |