Facing some issue with svgicons2svgfont library. https://www.npmjs.com/package/svgicons2svgfont When running the command npm run icons it does not convert my SVG's to font and it drops me this error:
Error: Non-whitespace before first tag.
And in the start after i run the command it shows me this
ttf2woff2/jssrc/ttf2woff2.js:3 Invalid asm.js: Invalid member of stdlib
My webpack config looks like this
{
test: /\.svg$/,
include: [
path.resolve(SOURCE_ROOT + SVG_ICON_PATH)
],
use: [
{
loader: 'file-loader',
options: {
name: '[name]-[hash].[ext]',
outputPath: //correctUrl here,
publicPath: //correctUrl here
}
}
]
}
Checked every open issue that might be related to this one.
Also, tried upgrading the library to latest version and downgrading to some previous versions, nothing helped