summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdus <abdus@abdus.net>2021-02-03 07:51:50 +0530
committerGitHub <noreply@github.com>2021-02-03 07:51:50 +0530
commit8ffe30ab1f4ca7ad5de3ce228ee9350994371f4a (patch)
treeec1f63738bdeea9c5a95dcc66819a8489ef8f47b
parente6e86895eed48a1120c34da9559562f3b7c32ec4 (diff)
downloadabdus.net-8ffe30ab1f4ca7ad5de3ce228ee9350994371f4a.tar.bz2
abdus.net-8ffe30ab1f4ca7ad5de3ce228ee9350994371f4a.zip
fix scripts
-rw-r--r--content/posts/typescript-webpack-setup.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/posts/typescript-webpack-setup.md b/content/posts/typescript-webpack-setup.md
index 8098450..88d4b31 100644
--- a/content/posts/typescript-webpack-setup.md
+++ b/content/posts/typescript-webpack-setup.md
@@ -266,14 +266,14 @@ Following are two example scripts:
{
...
"scripts": {
- "start": "rimraf build && webpack s",
- "build": "webpack"
+ "start": "webpack s",
+ "build": "rimraf build && webpack"
}
...
}
```
-Note that in `start` script I have added `rimraf`. This is a package provides
+Note that in `build` script I have added `rimraf`. This is a package provides
functionalities of `rm` command. You can simply install it using `yarn add --dev rimraf`.
Purpose of using it, is to remove `build/` directory to get a fresh
build of the source code everytime we run `webpack`.