Electron-forge + webpack issue with fonts

Hello,

I’m trying to add ForkAwesome to an electron-forge + webpack app and I always get an error about fonts files.

index.css:4 Uncaught Error: Cannot find module '../node_modules/fork-awesome/fonts/forkawesome-webfont.eot?v=1.1.7'

I import like that:

$fa-font-path: '../node_modules/fork-awesome/fonts';
@import "../node_modules/fork-awesome/scss/fork-awesome";

It’s the same issue with css instead of scss.

I have added the following rule in webpack.renderer.config.js:

  {
    test: /\.(woff(2)?|ttf|eot|svg)(\?v=\d+\.\d+\.\d+)?$/,
    use: [
      {
        loader: 'file-loader',
        options: {
          name: '[name].[ext]',
          outputPath: 'fonts/'
        }
      }
    ]
  }

With or without options I still get that error.

Any ideas how to get things to work properly ?