From: Evan You Date: Wed, 26 Sep 2018 15:29:55 +0000 (-0400) Subject: fix: ensure consistent behavior in dev/prod X-Git-Tag: v3.0.0-alpha.0~1180 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e5dd7b44cf6892d0f513e10585ab54930ec3412;p=thirdparty%2Fvuejs%2Fcore.git fix: ensure consistent behavior in dev/prod --- diff --git a/packages/core/src/optional/context.ts b/packages/core/src/optional/context.ts index b7a5adc6d2..c04eb228e1 100644 --- a/packages/core/src/optional/context.ts +++ b/packages/core/src/optional/context.ts @@ -36,16 +36,14 @@ export class Provide extends Component { } } -if (__DEV__) { - Provide.options = { - props: { - id: { - type: [String, Symbol], - required: true - }, - value: { - required: true - } +Provide.options = { + props: { + id: { + type: [String, Symbol], + required: true + }, + value: { + required: true } } }