fontmin-webpack icon indicating copy to clipboard operation
fontmin-webpack copied to clipboard

fix: support context of webpack.config

Open daichi-yamauchi opened this issue 2 years ago • 0 comments

Fix that specifying the context of webpack.config cause no such file error.

Occurred error

  • webpack.config.js
module.exports = {
  //...
  context: path.resolve(__dirname, 'app'),
};

Run npx webpack

Error: ENOENT: no such file or directory, stat 'fonts/my-font.ttf'

daichi-yamauchi avatar Apr 12 '22 07:04 daichi-yamauchi