geowarin / friendly-errors-webpack-plugin

Recognizes certain classes of webpack errors and cleans, aggregates and prioritizes them to provide a better Developer Experience.
MIT License
748 stars 77 forks source link

compilationSuccessInfo.message not show #122

Open HomyeeKing opened 3 years ago

HomyeeKing commented 3 years ago
 new FriendlyErrorsWebpackPlugin({
            compilationSuccessInfo: {
                messages: [`You application is running here http://localhost:${config.dev.port}`],
            },
        })

image

the console didn't console any message, but if I add a notes:

 new FriendlyErrorsWebpackPlugin({
            compilationSuccessInfo: {
                messages: [`You application is running here http://localhost:${config.dev.port}`],
    ++        notes: ['Some additionnal notes to be displayed unpon successful compilation']
            },
        })

image

plus, I checked the source coed,

 compilationSuccessInfo?: {
            messages: string[],
            notes: string[],
        };

so I have to give both the params?

HomyeeKing commented 3 years ago

@geowarin