vue-cli 4. ERROR ReferenceError: primordials is not defined
Closed this issue · 1 comments
zasby commented
When used with vue-cli, I get an error:
ERROR ReferenceError: primordials is not defined ReferenceError: primordials is not defined
Here is my config:
const FontelloPlugin = require('fontello-webpack-plugin')
module.exports = {
configureWebpack: {
plugins: [
new FontelloPlugin({
config: require("./fontello.config.json"),
output: {
css: "static/css/fontello.css",
font: "static/fonts/fontello.[ext]"
}
})
]
}
}
.
What could be the problem?
Thank.
zasby commented
The problem is solved using this fork https://github.com/w3geo/fontello-webpack-plugin#6149eac8f2672ab6da089e8802fbfcac98487186