Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(assets): update code reference (#1370)
* docs(assets): update code reference Code reference for url-loader and file-loader was outdated and still referenced the already removed file `lib/builder/webpack/base.js` with last commit `c1e0d174319f209bbfa4d34cfd2e17e82f45537` on October 18, 2018. I've taken the liberty to evaluate `Object.assign(this.loaders.xxx, { name: this.getFileName('xxx')})` since I think that referencing [build.js](https://github.com/nuxt/nuxt.js/blob/dev/packages/config/src/config/build.js#L15-L27) would only serve to confuse the reader. I've also added the `file-loader` code, since the explanation above stated > For **these two loaders**, the default configuration is: Not sure if the intent was to show both `url-loader` and `file-loader` or `url-loader` only. * docs(assets): add comment for 1000 bytes => 1kB * Update content/en/guides/directory-structure/assets.md Co-authored-by: Daniel Roe <daniel@roe.dev> * Update content/en/guides/directory-structure/assets.md Co-authored-by: Daniel Roe <daniel@roe.dev> * Update content/en/guides/directory-structure/assets.md Co-authored-by: Daniel Roe <daniel@roe.dev> Co-authored-by: Daniel Roe <daniel@roe.dev>
- Loading branch information