1.0.5 • Published 6 years ago

webpack-ect-loader v1.0.5

Weekly downloads
12
License
MIT
Repository
github
Last release
6 years ago

webpack-ect-loader

Build Status MIT License

The ect templates compiler for webpack. This includes a html formatter pretty.

Installation

npm i -D webpack-ect-loader

Configuration

This works with the following helper packages

module.exports = {
  module: {
    rules: [
      {
        test: /\.ect$/,
        use: [
          {
            loader: 'html-loader',
            options: {
            }
          },
          {
            loader: 'ect-loader',
            options: {
              root: path.resolve(__dirname, 'src/ect'),
            }
          }
        ]
      },
    ]
  },
  plugins: [
    new HtmlWebpackPlugin({
      template: 'src/index.ect',
      filename: 'index.[contenthash].html'
    })
  ]
};
1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago