From 738f4b3c570dc3a1818924a203a9f8e4b1ec90f0 Mon Sep 17 00:00:00 2001 From: Evan You Date: Tue, 11 Oct 2022 17:51:46 +0800 Subject: [PATCH] fix(build): enforce LF line ending in built files fix #12819 --- dist/vue.runtime.mjs | 152 +++++++++++++++++++++---------------------- tsconfig.json | 1 + 2 files changed, 77 insertions(+), 76 deletions(-) diff --git a/dist/vue.runtime.mjs b/dist/vue.runtime.mjs index 886d9f163..83d889271 100644 --- a/dist/vue.runtime.mjs +++ b/dist/vue.runtime.mjs @@ -1,76 +1,76 @@ -import Vue from './vue.runtime.common.js' -export default Vue - -// this should be kept in sync with src/v3/index.ts -export const { - version, - - // refs - ref, - shallowRef, - isRef, - toRef, - toRefs, - unref, - proxyRefs, - customRef, - triggerRef, - computed, - - // reactive - reactive, - isReactive, - isReadonly, - isShallow, - isProxy, - shallowReactive, - markRaw, - toRaw, - readonly, - shallowReadonly, - - // watch - watch, - watchEffect, - watchPostEffect, - watchSyncEffect, - - // effectScope - effectScope, - onScopeDispose, - getCurrentScope, - - // provide / inject - provide, - inject, - - // lifecycle - onBeforeMount, - onMounted, - onBeforeUpdate, - onUpdated, - onBeforeUnmount, - onUnmounted, - onErrorCaptured, - onActivated, - onDeactivated, - onServerPrefetch, - onRenderTracked, - onRenderTriggered, - - // v2 only - set, - del, - - // v3 compat - h, - getCurrentInstance, - useSlots, - useAttrs, - mergeDefaults, - nextTick, - useCssModule, - useCssVars, - defineComponent, - defineAsyncComponent -} = Vue +import Vue from './vue.runtime.common.js' +export default Vue + +// this should be kept in sync with src/v3/index.ts +export const { + version, + + // refs + ref, + shallowRef, + isRef, + toRef, + toRefs, + unref, + proxyRefs, + customRef, + triggerRef, + computed, + + // reactive + reactive, + isReactive, + isReadonly, + isShallow, + isProxy, + shallowReactive, + markRaw, + toRaw, + readonly, + shallowReadonly, + + // watch + watch, + watchEffect, + watchPostEffect, + watchSyncEffect, + + // effectScope + effectScope, + onScopeDispose, + getCurrentScope, + + // provide / inject + provide, + inject, + + // lifecycle + onBeforeMount, + onMounted, + onBeforeUpdate, + onUpdated, + onBeforeUnmount, + onUnmounted, + onErrorCaptured, + onActivated, + onDeactivated, + onServerPrefetch, + onRenderTracked, + onRenderTriggered, + + // v2 only + set, + del, + + // v3 compat + h, + getCurrentInstance, + useSlots, + useAttrs, + mergeDefaults, + nextTick, + useCssModule, + useCssVars, + defineComponent, + defineAsyncComponent +} = Vue diff --git a/tsconfig.json b/tsconfig.json index 299b45f18..214cb46c7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,6 +6,7 @@ "target": "esnext", "module": "ESNext", "moduleResolution": "node", + "newLine": "LF", "strict": true, "allowJs": true,