1.1.2 • Published 5 years ago

@triskel/loader v1.1.2

Weekly downloads
70
License
MIT
Repository
github
Last release
5 years ago

@triskel/loader

Triskel HTML loader for Webpack and Rollup

npm Build Status dependencies Status GitHub license

Installation

npm i -D @triskel/loader

# npm install --save-dev @triskel/loader

Webpack

webpack.config.js

module.exports = {
  module: {
    loaders: [
      {
        test: /\.html$/,
        loader: '@triskel/loader'
      }
    ]
  }
}

Rollup

rollup.config.js

import triskelLoader from '@triskel/loader/rollup'

export default {
  input: 'src/main.js',
  output: {
    file: 'dist/bundle.js',
    format: 'iife'
  },

  plugins: [
    triskelLoader()
  ]
}
1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago