Skip to content

Commit 2474fa9

Browse files
authored
build: use watch option to auto rebuild dependency
Just want to make development convenient
1 parent eef5d04 commit 2474fa9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

inst/templates/package.json.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,9 @@
1212
"@babel/preset-react": "^7.0.0",
1313
"css-loader": "^5.0.1",
1414
"style-loader": "^2.0.0"
15+
},
16+
"scripts": {
17+
"watch": "webpack --watch",
18+
"build": "webpack"
1519
}
1620
}

0 commit comments

Comments
 (0)