Skip to content

Commit b6f8278

Browse files
authored
Merge pull request github#20349 from github/repo-sync
repo sync
2 parents fa22df2 + cfca08d commit b6f8278

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

javascripts/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The code in this directory is destined to run in a web browser!
44

5-
The [index.js](index.js) file in this directory is bundled by [Webpack](https://github.com/webpack/webpack). In development, we use [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) to bundle automatically while running the server. In production, we run `webpack --mode production` via `npm run build`.
5+
The [index.ts](index.ts) file in this directory is bundled by [Webpack](https://github.com/webpack/webpack). In development, we use [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) to bundle automatically while running the server. In production, we run `webpack --mode production` via `npm run build`.
66

77
This file is then referenced in the footer:
88

@@ -11,7 +11,7 @@ This file is then referenced in the footer:
1111
```
1212

1313
Every other file in this directory is written as a module to
14-
be required in `index.js`. They all have this format:
14+
be required in `index.ts`. They all have this format:
1515

1616
```js
1717
module.exports = () => {
@@ -20,7 +20,7 @@ module.exports = () => {
2020
}
2121
```
2222

23-
In development, the bundle will recompile every time a file used by `javascripts/index.js` is changed. This
23+
In development, the bundle will recompile every time a file used by `javascripts/index.ts` is changed. This
2424
ensures that you're always getting an up-to-date version of the script.
2525

2626
In production, the bundle is compiled during build-time.

0 commit comments

Comments
 (0)