This package will compile your zephir code.
Ex:
npm install zephir-loader
var fileContent = require("zephir-loader!./file.php");
// => run file.php with php and return it as some content (html for example)
It can also be used inside the webpack configuration file (webpack.js):
module.exports = {
...
module: {
loaders: [
...
{
test: /\.zep$/,
loaders: [
'zephir-loader'
]
},
...
]
},
...
}