Skip to content

SavvySoftWorksLLC/zephir-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zephir loader for webpack

This package will compile your zephir code.

Ex:

Installation

npm install zephir-loader

Usage

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'
        ]
      },
      ...
    ]
  },
  ...
}

Documentation: Using loaders

License

MIT (http://www.opensource.org/licenses/mit-license.php)

About

Webpack loader to compile zephir namespaces

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published