Skip to content

Commit

Permalink
fix(build): enforce LF line ending in built files
Browse files Browse the repository at this point in the history
fix #12819
  • Loading branch information
yyx990803 committed Oct 11, 2022
1 parent cc14d44 commit 738f4b3
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 76 deletions.
152 changes: 76 additions & 76 deletions 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
1 change: 1 addition & 0 deletions tsconfig.json
Expand Up @@ -6,6 +6,7 @@
"target": "esnext",
"module": "ESNext",
"moduleResolution": "node",
"newLine": "LF",
"strict": true,

"allowJs": true,
Expand Down

0 comments on commit 738f4b3

Please sign in to comment.