Skip to content

Commit 3456e11

Browse files
authored
Merge pull request #125502 from changeworld/patch-139
Fix typo
2 parents aca887f + 703bca3 commit 3456e11

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/azure-maps/how-to-use-npm-package.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ npm install azure-maps-control
3232

3333
This package includes a minified version of the source code, CSS Style Sheet, and the TypeScript definitions for the Azure Maps map control.
3434

35-
You would also need to embed the CSS Style Sheet for various controls to display correctly. If you're using a JavaScript bundler to bundle the dependencies and package your code, refer to your bundler's documentation on how it's done. For [Webpack], it's commonly done via a combination of `style-loader` and `css-loader` with documentation available at [style-loader].
35+
You would also need to embed the CSS Style Sheet for various controls to display correctly. If you're using a JavaScript bundler to bundle the dependencies and package your code, refer to your bundler's documentation on how it's done. For [webpack], it's commonly done via a combination of `style-loader` and `css-loader` with documentation available at [style-loader].
3636

3737
To begin, install `style-loader` and `css-loader`:
3838

@@ -46,7 +46,7 @@ Inside your source file, import _atlas.min.css_:
4646
import "azure-maps-control/dist/atlas.min.css";
4747
```
4848

49-
Then add loaders to the module rules portion of the Webpack config:
49+
Then add loaders to the module rules portion of the webpack config:
5050

5151
```js
5252
module.exports = {
@@ -81,7 +81,7 @@ Embed a map in a web page using the map control npm package.
8181
npm install azure-maps-control
8282
```
8383
84-
3. Install Webpack and other dev dependencies.
84+
3. Install webpack and other dev dependencies.
8585
8686
```powershell
8787
npm install --save-dev webpack webpack-cli style-loader css-loader
@@ -113,7 +113,7 @@ Embed a map in a web page using the map control npm package.
113113
}
114114
```
115115
116-
5. Create a Webpack config file named _webpack.config.js_ in the project's root folder. Include these settings in the config file.
116+
5. Create a webpack config file named _webpack.config.js_ in the project's root folder. Include these settings in the config file.
117117
118118
```js
119119
module.exports = {
@@ -265,7 +265,7 @@ The following sample shows how to import a module and use it in your application
265265
document.body.onload = onload;
266266
```
267267
268-
4. Webpack 5 may throw errors about not being able to resolve some node.js core modules. Add these settings to your Webpack config file to fix the problem.
268+
4. Webpack 5 may throw errors about not being able to resolve some node.js core modules. Add these settings to your webpack config file to fix the problem.
269269
270270
```js
271271
module.exports = {
@@ -305,7 +305,7 @@ Learn best practices and see samples:
305305
[Azure Maps account]: quick-demo-map-app.md#create-an-azure-maps-account
306306
[subscription key]: quick-demo-map-app.md#get-the-subscription-key-for-your-account
307307
[authentication options]: /javascript/api/azure-maps-control/atlas.authenticationoptions
308-
[Webpack]: https://webpack.js.org/
308+
[webpack]: https://webpack.js.org/
309309
[style-loader]: https://webpack.js.org/loaders/style-loader/
310310
[azure-maps-drawing-tools]: ./set-drawing-options.md
311311
[azure-maps-indoor]: ./how-to-use-indoor-module.md

0 commit comments

Comments
 (0)