Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs React router and bower:是否有生成全局目录的构建步骤?_Reactjs - Fatal编程技术网

Reactjs React router and bower:是否有生成全局目录的构建步骤?

Reactjs React router and bower:是否有生成全局目录的构建步骤?,reactjs,Reactjs,bower_components/react router/build/global/react router.js在哪里 来自哪里?是否有一些构建步骤 我看不出是什么创建了全局目录。在React Router的最新版本中,该目录已更改,但您可以看到它们在过去显式构建为build/global: "scripts": { "build-global": "rm -rf build/global && NODE_ENV=production webpack modules/

bower_components/react router/build/global/react router.js在哪里

来自哪里?是否有一些构建步骤


我看不出是什么创建了全局目录。

在React Router的最新版本中,该目录已更改,但您可以看到它们在过去显式构建为
build/global

"scripts": {
    "build-global": "rm -rf build/global && NODE_ENV=production webpack modules/index.js build/global/ReactRouter.js && NODE_ENV=production COMPRESS=1 webpack modules/index.js build/global/ReactRouter.min.js && echo \"gzipped, the global build is `gzip -c build/global/ReactRouter.min.js | wc -c` bytes\"",