export const REQUIRE_EXPRESSION = /Critical dependency: require function is used in a way in which dependencies cannot be statically extracted/ ; export const REQUEST_DYNAMIC = /Critical dependency: the request of a dependency is an expression/ ; export const MODULE_NOT_FOUND = /Module not found: Error: Can't resolve / ; export const ignoreWarnings = [ { message : REQUIRE_EXPRESSION } , { message : REQUEST_DYNAMIC } , { message : MODULE_NOT_FOUND } , ] ;