Skip to content

Commit 5259992

Browse files
Merge pull request #53 from swsoyee/patch-2
build: use watch option to auto rebuild dependency
2 parents 25baf58 + 2474fa9 commit 5259992

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)