執行硫化和保鮮

在你的 elements.html 檔案上,執行以下命令:

cd PATH/TO/IMPORTFILE/
vulcanize elements.html -o elements.vulc.html --strip-comments --inline-css --inline-js
crisper --source elements.vulc.html --html build.html --js build.js

硫化檢索到的所有匯入的原始碼,然後用原始碼替換匯入。
Crisper 將所有 js 從 elements.vulc.html 檔案中取出,將其放在單個 build.js 檔案中,設定 script 標籤,參考 build.html 檔案中的 build.js 檔案