Skip to content

Commit ce13e42

Browse files
Pauansendilkumarn
authored andcommitted
Minor tweaks
1 parent a4104f4 commit ce13e42

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ to WebAssembly and hooking into a Webpack build pipeline.
4949
`http://localhost:8080`. It auto-reloads when you make any changes.
5050

5151
* `npm run build` -- Bundle the project (in production mode).
52+
53+
* `npm test` -- Run the project's unit tests.

template/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# You must adjust these to your own details.
1+
# You must change these to your own details.
22
[package]
33
name = "rust-webpack-template"
44
description = "My super awesome Rust, WebAssembly, and Webpack project!"

template/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
# How to install
1+
## How to install
22

33
```sh
44
npm install
55
```
66

7-
# How to run in debug mode
7+
## How to run in debug mode
88

99
```sh
1010
# Builds the project and opens it in a new browser tab. Auto-reloads when the project changes.
1111
npm start
1212
```
1313

14-
# How to build in release mode
14+
## How to build in release mode
1515

1616
```sh
1717
# Builds the project and places it into the `dist` folder.
1818
npm run build
1919
```
2020

21-
# How to run unit tests
21+
## How to run unit tests
2222

2323
```sh
2424
# Runs tests in Firefox
@@ -31,11 +31,11 @@ npm test -- --chrome
3131
npm test -- --safari
3232
```
3333

34-
# What does each file do?
34+
## What does each file do?
3535

36-
* `Cargo.toml` contains the standard Rust metadata. You put your Rust dependencies in here. You should adjust this file with your details (name, author, etc.)
36+
* `Cargo.toml` contains the standard Rust metadata. You put your Rust dependencies in here. You must change this file with your details (name, author, description, etc.)
3737

38-
* `package.json` contains the standard npm metadata. You put your JavaScript dependencies in here. You should adjust this file with your details (name, author, etc.)
38+
* `package.json` contains the standard npm metadata. You put your JavaScript dependencies in here. You must change this file with your details (name, author, description, etc.)
3939

4040
* `webpack.config.js` contains the Webpack configuration. You shouldn't need to change this, unless you have very special needs.
4141

0 commit comments

Comments
 (0)