Add yarn clean step, to delete production compiled assets
This commit is contained in:
parent
65bfec654a
commit
9d2714543a
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
# Tips
|
||||
|
||||
> TODO: Add tips
|
||||
## Clearing production compiled assets
|
||||
|
||||
To clear production compiled assets created with `yarn webpack-prod` you can run:
|
||||
|
||||
```
|
||||
yarn clean
|
||||
```
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"clean": "rm -rf public/assets tmp/cache/*-loader",
|
||||
"dev-server": "nodemon -w 'config/webpack.config.js' --exec 'webpack-dev-server --config config/webpack.config.js'",
|
||||
"eslint": "eslint --max-warnings 0 --ext .js,.vue .",
|
||||
"eslint-fix": "eslint --max-warnings 0 --ext .js,.vue --fix .",
|
||||
|
|
Loading…
Reference in a new issue