1.0.5 • Published 1 year ago

file-wrap-loader v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

File Wrap Loader

File wrapper loader for Webpack

Install

npm install file-wrap-loader

Usage

module.exports = {
  //...
  module: {
    rules: [{
      test: /\.js$/,
      loader: 'file-wrap-loader',
      options: {
        template: '/*library: test*/export default function(){<%= content %>}' // template compiler use lodash template
      }
    }]
  }
}
1.0.5

1 year ago

1.0.2

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago