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

React-router and bower: Is there a build step to produce global dir?

bower_components/react-router/build/global/ReactRouter.js

在哪里

从哪里来?有一些构建步骤吗?

我没有看到是什么创建了全局目录。

该目录在最近版本的 React Router 中发生了变化,但您可以看到 in the package.json for the project 他们在过去明确构建到 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\"",