gabiseabra/fontello-webpack-plugin

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.