Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

compilationSuccessInfo.message not show #122

Open
HomyeeKing opened this issue Oct 27, 2020 · 1 comment
Open

compilationSuccessInfo.message not show #122

HomyeeKing opened this issue Oct 27, 2020 · 1 comment

Comments

@HomyeeKing
Copy link

HomyeeKing commented Oct 27, 2020

 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
Copy link
Author

@geowarin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant