How to use webpack loader

I am trying to use the https://github.com/diegomura/react-pdf library.
It is a library requiriment to install transform-loader and configure it in the webpack config file, like for example:

....

module: {
    rules: [
      // https://github.com/devongovett/pdfkit/issues/478#issuecomment-322664148
      {
        test: /(pdfkit|linebreak|fontkit|unicode|brotli|png-js).*\.js$/,
        loader: 'transform-loader?brfs',
      },

....

How can I configure the transform-loader npm package in meteor ?