Skip to content
fkei edited this page Dec 20, 2013 · 1 revision

Summary

Beezでは、仕様として決まっているファイル名、拡張子の命名規則がありますので紹介します。

設定ファイルで変更可能な命令規則もあります。詳しくは、Reference - Configure section を参照ください。

extname

ファイル名 使用例 説明
*.hbs ./s/index/hbs/info.hbs => ./s/index/hbs/info.hbsc.js Handlebars テンプレートファイル
*.hbsc.js 同上 .hbs のコンパイル済みJSファイル
index.html.hbs ./s/index/index.html.hbs => ./s/index/local.html Index HTML用 Handlebars テンプレートファイル
[env].html 同上 Index HTML ファイル
require.beez.js.hbs ./s/index/require.beez.js.hbs => ./s/index/require.beez.local.release.js data-main テンプレートファイル
require.beez.[env].*.js 同上 data-main ファイル
*.styl ./s/index/styl/index.styl => ./s/index/styl/index.css Stylus ファイル
sprite-*-*.png ./s/index/styl/sprite-logo-hoge.png ./s/index/styl/sprite-logo-fuga.png => ./s/index/styl/sprite-logo@10x.png ./s/index/style/sprite-logo.styl SpriteSheetの元となる1画像
sprite-*.styl 同上 SpriteSheetを使用するためのStylusファイル
sprite-*@10x.png 同上 SpriteSheet ファイル (ratio1.0用)
*.min.js - Minified file

Clone this wiki locally