Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
経由で利用できるrequirejs構成変数を設定したいと思いますmodule.config。オプティマイザはこれを通過していないようです。これは可能ですか、それともビルド プロセスでこのステップを処理する必要がありますか。
module.config
簡単な解決策は次のようです。
config
config-production
require('/path/to/config')
r.js -o build.js paths.config=config-production