Skip to content

Commit 0e7e48c

Browse files
author
Wasin Waeosri
committed
fix webpack command issue
1 parent 51b8be5 commit 0e7e48c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ The project includes the following files and folder
4545
![npm command display](images/npm_install.png "npm command display")
4646

4747
3. If the machine is behind a proxy server, you need to configure Node.js uses proxy instead of a direct HTTP connection via the following command in command prompt: ```set https_proxy=http://<proxy.server>:<port>```
48-
4. Run ```$> webpack``` in the command prompt to build and compile all TypeScript files in *src* into JavaScript source file (*/web/dist/* folder)
48+
4. Run ```$> npx webpack``` in the command prompt to build and compile all TypeScript files in *src* into JavaScript source file (*/web/dist/* folder)
4949

50-
![webpack command display](images/webpack_screen.png "webpack command display")
50+
![webpack command display](images/webpack_screen2.png "webpack command display")
5151

5252
5. Copy and deploy the *web* folder into in any web server (recommend [http-server](https://www.npmjs.com/package/http-server) for quick dev/testing)
5353
6. Open web browser, then navigate to index.html of the web server (example for http-server: ```hhttp://localhost:8080/index.html```)

images/webpack_screen2.png

49.9 KB
Loading

0 commit comments

Comments
 (0)