--shouldProvideRequireSoyNamespaces
オプションを付けないと、Google Closure Libraryを使わない前提の書き出しになってしまう。Closure Libraryと一緒に使う場合はこのオプションをつける。
java -jar compiler/SoyToJsSrcCompiler.jar --shouldProvideRequireSoyNamespaces --outputPathFormat hoge.js hoge.soy
More than 5 years have passed since last update.
--shouldProvideRequireSoyNamespaces
オプションを付けないと、Google Closure Libraryを使わない前提の書き出しになってしまう。Closure Libraryと一緒に使う場合はこのオプションをつける。
java -jar compiler/SoyToJsSrcCompiler.jar --shouldProvideRequireSoyNamespaces --outputPathFormat hoge.js hoge.soy
Register as a new user and use Qiita more conveniently