fix(build): enforce LF line ending in built files

fix #12819
This commit is contained in:
Evan You 2022-10-11 17:51:46 +08:00
parent cc14d4452c
commit 738f4b3c57
2 changed files with 77 additions and 76 deletions

152
dist/vue.runtime.mjs vendored
View File

@ -1,76 +1,76 @@
import Vue from './vue.runtime.common.js' import Vue from './vue.runtime.common.js'
export default Vue export default Vue
// this should be kept in sync with src/v3/index.ts // this should be kept in sync with src/v3/index.ts
export const { export const {
version, version,
// refs // refs
ref, ref,
shallowRef, shallowRef,
isRef, isRef,
toRef, toRef,
toRefs, toRefs,
unref, unref,
proxyRefs, proxyRefs,
customRef, customRef,
triggerRef, triggerRef,
computed, computed,
// reactive // reactive
reactive, reactive,
isReactive, isReactive,
isReadonly, isReadonly,
isShallow, isShallow,
isProxy, isProxy,
shallowReactive, shallowReactive,
markRaw, markRaw,
toRaw, toRaw,
readonly, readonly,
shallowReadonly, shallowReadonly,
// watch // watch
watch, watch,
watchEffect, watchEffect,
watchPostEffect, watchPostEffect,
watchSyncEffect, watchSyncEffect,
// effectScope // effectScope
effectScope, effectScope,
onScopeDispose, onScopeDispose,
getCurrentScope, getCurrentScope,
// provide / inject // provide / inject
provide, provide,
inject, inject,
// lifecycle // lifecycle
onBeforeMount, onBeforeMount,
onMounted, onMounted,
onBeforeUpdate, onBeforeUpdate,
onUpdated, onUpdated,
onBeforeUnmount, onBeforeUnmount,
onUnmounted, onUnmounted,
onErrorCaptured, onErrorCaptured,
onActivated, onActivated,
onDeactivated, onDeactivated,
onServerPrefetch, onServerPrefetch,
onRenderTracked, onRenderTracked,
onRenderTriggered, onRenderTriggered,
// v2 only // v2 only
set, set,
del, del,
// v3 compat // v3 compat
h, h,
getCurrentInstance, getCurrentInstance,
useSlots, useSlots,
useAttrs, useAttrs,
mergeDefaults, mergeDefaults,
nextTick, nextTick,
useCssModule, useCssModule,
useCssVars, useCssVars,
defineComponent, defineComponent,
defineAsyncComponent defineAsyncComponent
} = Vue } = Vue

View File

@ -6,6 +6,7 @@
"target": "esnext", "target": "esnext",
"module": "ESNext", "module": "ESNext",
"moduleResolution": "node", "moduleResolution": "node",
"newLine": "LF",
"strict": true, "strict": true,
"allowJs": true, "allowJs": true,