Skip to content

Commit 9199e8e

Browse files
authored
clean up a few typos & style in BUILDING.md
1 parent 3cf0c5c commit 9199e8e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

BUILDING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ browserify -t path/to/plotly.js/tasks/util/compress_attributes.js index.js > bun
4747

4848
## Angular CLI
4949

50-
Currently Angular CLI use Webpack under the hood to bundle and build your Angular application.
51-
Sadly it doesn't allow to override its Webpack config, and therefore to use the plugin mentioned in the [Webpack](#webpack) section.
50+
Currently Angular CLI uses Webpack under the hood to bundle and build your Angular application.
51+
Sadly it doesn't allow you to override its Webpack config in order to add the plugin mentioned in the [Webpack](#webpack) section.
5252
Without this plugin your build will fail when it tries to build glslify for WebGL plots.
5353

54-
Currently 2 solutions exists to circumvent this issue :
54+
Currently 2 solutions exists to circumvent this issue:
5555

56-
1) If you need to use WebGL plots, you can create a Webpack config from your Angular CLI projet with [ng eject](https://github.com/angular/angular-cli/wiki/eject). This will allow you to follow the instructions regarding Webpack.
57-
2) If you don't need to use WebGL plots, you can make a custom build containing only the required modules for your plots. The clean way to do it with Angular CLI is not the method described in the [Modules](https://github.com/plotly/plotly.js/blob/master/README.md#modules) section of the README but the following :
56+
1) If you need to use WebGL plots, you can create a Webpack config from your Angular CLI project with [ng eject](https://github.com/angular/angular-cli/wiki/eject). This will allow you to follow the instructions regarding Webpack.
57+
2) If you don't need to use WebGL plots, you can make a custom build containing only the required modules for your plots. The clean way to do it with Angular CLI is not the method described in the [Modules](https://github.com/plotly/plotly.js/blob/master/README.md#modules) section of the README but the following:
5858

5959
```typescript
6060
// in the Component you want to create a graph
@@ -64,7 +64,7 @@ import * as Plotly from 'plotly.js';
6464
```json
6565
// in src/tsconfig.app.json
6666
// List here the modules you want to import
67-
// this exemple is for scatter plots
67+
// this example is for scatter plots
6868
{
6969
"compilerOptions": {
7070
"paths": {

0 commit comments

Comments
 (0)