mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-24 05:05:53 +08:00
tagging dev-only code (@remove-on-publish-begin/end) and pre-eject-only code (@remove-on-eject-begin/end) #257 (#257)
This commit is contained in:
@@ -51,7 +51,7 @@ var pathExists = require('path-exists');
|
||||
* Example of valid values:
|
||||
* - a specific npm version: "0.22.0-rc1"
|
||||
* - a .tgz archive from any npm repo: "https://registry.npmjs.org/react-scripts/-/react-scripts-0.20.0.tgz"
|
||||
* - a package prepared with `npm pack`: "/Users/home/vjeux/create-react-app/react-scripts-0.22.0.tgz"
|
||||
* - a package prepared with `tasks/clean_pack.sh`: "/Users/home/vjeux/create-react-app/react-scripts-0.22.0.tgz"
|
||||
*/
|
||||
var commands = argv._;
|
||||
if (commands.length === 0) {
|
||||
|
||||
Reference in New Issue
Block a user