angular-docs-cn/aio/tools/cli-patches
Filipe Silva 97fd2480e7 fix(aio): fix patch script on windows
Running the patch script on Windows (with `patch` available) yields an invalid syntax warning, and does not apply patches.

```
kamik@T460p MINGW64 /d/work/angular/aio (master)
$ yarn postinstall
yarn postinstall v0.24.6
$ node tools/cli-patches/patch.js && uglifyjs node_modules/lunr/lunr.js -c -m -o src/assets/js/lunr.min.js --source-map
The syntax of the command is incorrect.
Done in 1.52s.
```
2017-06-21 13:51:35 -07:00
..
ngo-loader.patch build(aio): add ngo + purify 2017-05-18 15:48:49 +01:00
patch.js fix(aio): fix patch script on windows 2017-06-21 13:51:35 -07:00
scope-hoisting.patch build(aio): turn on webpack 3.0 scope-hoisting 2017-06-09 18:31:50 -07:00
uglify-config.patch build(aio): turn on webpack 3.0 scope-hoisting 2017-06-09 18:31:50 -07:00