This package has been deprecated

Author message:

The package is no longer maintained

tris-loader

0.9.0 • Public • Published

tris-loader

npm build

tris loader for webpack

Table of Contents

Background

This package holds a webpack loader for the tris package.

Install

npm install --save-dev tris-loader

Usage

The loader can be added in the same way as any other webpack loader. You can pass additional plugins to tris.

const ScopedStylesPlugin = require('tris/plugins/scoped-styles')
const PureEnginePlugin = require('tris/plugins/pure-engine')
 
module.exports = {
  module: {
    rules: [
      {
        test: /\.html$/,
        loader: [
          {
            loader: 'tris-loader',
            options: {
              plugins: [
                new ScopedStylesPlugin(),
                new PureEnginePlugin()
              ]
            }
          }
        ]
      }
    ]
  }
}

Maintainers

@emilos.

Contributing

All contributions are highly appreciated! Open an issue or a submit PR.

License

MIT © buxlabs

Readme

Keywords

Package Sidebar

Install

npm i tris-loader

Weekly Downloads

12

Version

0.9.0

License

MIT

Unpacked Size

4.72 kB

Total Files

5

Last publish

Collaborators

  • buxlabs-dev
  • emilos