From a6c204f8b26c454589b47388a9b266782c61adf2 Mon Sep 17 00:00:00 2001 From: Robert Wildling Date: Tue, 28 Aug 2018 12:20:25 +0200 Subject: [PATCH] Correct 2 minor grammar errors. --- docs/guide/webpack.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/webpack.md b/docs/guide/webpack.md index b765860b89..28443ce0a0 100644 --- a/docs/guide/webpack.md +++ b/docs/guide/webpack.md @@ -123,7 +123,7 @@ module.exports = { } ``` -You will need to familiarize yourself with [webpack-chain's API](https://github.com/mozilla-neutrino/webpack-chain#getting-started) and [read some source code](https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-service/lib/config) in order to understand how to leverage the full power of this option, but it gives you a more expressive and safer way to modify the webpack config than directly mutation values. +You will need to familiarize yourself with [webpack-chain's API](https://github.com/mozilla-neutrino/webpack-chain#getting-started) and [read some source code](https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-service/lib/config) in order to understand how to leverage the full power of this option, but it gives you a more expressive and safer way to modify the webpack config than directly mutate values. For example, say you want to change the default location of `index.html` from `/Users/username/proj/public/index.html` to `/Users/username/proj/app/templates/index.html`. By referencing [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin#options) you can see a list of options you can pass in. To change our template path we can pass in a new template path with the following config: @@ -182,7 +182,7 @@ vue inspect --plugins ## Using Resolved Config as a File -Some external tools may need access to the resolved webpack config as a file, for example IDEs or command line tools that expects a webpack config path. In that case you can use the following path: +Some external tools may need access to the resolved webpack config as a file, for example IDEs or command line tools that expect a webpack config path. In that case you can use the following path: ``` /node_modules/@vue/cli-service/webpack.config.js