rsnext/packages/next/build/webpack/plugins/webpack-conformance-plugin/constants.ts
Prateek Bhatnagar 0edd6a031a Adding conformance webpack plugin (#9716)
* adding Conformance Plugin behind a flag

* fixing compiler ts error

* fixing spelling errors 🤦🏻‍♂️

* addressing comments

* bug fix

* making it const enum

* reverting const enum

Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-23 16:09:12 -05:00

8 lines
231 B
TypeScript

import chalk from 'chalk'
const { red, yellow } = chalk
export const CONFORMANCE_ERROR_PREFIX: string = red('[BUILD CONFORMANCE ERROR]')
export const CONFORMANCE_WARNING_PREFIX: string = yellow(
'[BUILD CONFORMANCE WARNING]'
)