dearrrfish/preprocess-loader

Update to webpack 2

Closed this issue · 3 comments

Please update the readme for webpack 2

It's still valid, although nowadays you would probably do something like this in your webpack.config.js:

const config = {
  module: {
    rules: [
      {
        test: /\.js$/,
        use: [
          {
            loader: 'preprocess-loader',
            options: {
              foo: true,
              bar: 'baz'
              ppOptions: {
                type: 'js'
              }
            }
          }
        ]
      }
    ]
  }
};

please add it to README.md

Sorry for non-active maintenance. Added to README. Thank you!