From 0455c56617c51d468916cc8ee46966dfd2b36474 Mon Sep 17 00:00:00 2001 From: Simon Holthausen Date: Tue, 9 May 2023 10:12:40 +0200 Subject: [PATCH] .js file endings --- src/runtime/animate/index.js | 4 ++-- src/runtime/easing/index.js | 2 +- src/runtime/index.js | 4 ++-- src/runtime/motion/spring.js | 4 ++-- src/runtime/motion/tweened.js | 6 +++--- src/runtime/store/index.js | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/runtime/animate/index.js b/src/runtime/animate/index.js index ee3bba030f..2637626cdd 100644 --- a/src/runtime/animate/index.js +++ b/src/runtime/animate/index.js @@ -1,5 +1,5 @@ -import { cubicOut } from '../easing'; -import { is_function } from '../internal'; +import { cubicOut } from '../easing/index.js'; +import { is_function } from '../internal/index.js'; /** * @param {Element} node diff --git a/src/runtime/easing/index.js b/src/runtime/easing/index.js index 4a8e75dde2..5f68040e96 100644 --- a/src/runtime/easing/index.js +++ b/src/runtime/easing/index.js @@ -2,7 +2,7 @@ Adapted from https://github.com/mattdesl Distributed under MIT License https://github.com/mattdesl/eases/blob/master/LICENSE.md */ -export { identity as linear } from '../internal'; +export { identity as linear } from '../internal/index.js'; /** * @param {number} t diff --git a/src/runtime/index.js b/src/runtime/index.js index 80bcce26df..9900f7018d 100644 --- a/src/runtime/index.js +++ b/src/runtime/index.js @@ -1,4 +1,4 @@ -import './ambient'; +import './ambient.js'; export { onMount, onDestroy, @@ -12,4 +12,4 @@ export { createEventDispatcher, SvelteComponentDev as SvelteComponent, SvelteComponentTyped -} from './internal'; +} from './internal/index.js'; diff --git a/src/runtime/motion/spring.js b/src/runtime/motion/spring.js index 211645d241..f78078c9e5 100644 --- a/src/runtime/motion/spring.js +++ b/src/runtime/motion/spring.js @@ -1,5 +1,5 @@ -import { writable } from '../store'; -import { loop, now } from '../internal'; +import { writable } from '../store/index.js'; +import { loop, now } from '../internal/index.js'; import { is_date } from './utils.js'; /** diff --git a/src/runtime/motion/tweened.js b/src/runtime/motion/tweened.js index d14e0ffa64..454d4f40e5 100644 --- a/src/runtime/motion/tweened.js +++ b/src/runtime/motion/tweened.js @@ -1,6 +1,6 @@ -import { writable } from '../store'; -import { assign, loop, now } from '../internal'; -import { linear } from '../easing'; +import { writable } from '../store/index.js'; +import { assign, loop, now } from '../internal/index.js'; +import { linear } from '../easing/index.js'; import { is_date } from './utils.js'; /** @returns {(t: any) => any} */ diff --git a/src/runtime/store/index.js b/src/runtime/store/index.js index 08e4c0db8b..ec8ec9eedc 100644 --- a/src/runtime/store/index.js +++ b/src/runtime/store/index.js @@ -5,7 +5,7 @@ import { safe_not_equal, is_function, get_store_value -} from '../internal'; +} from '../internal/index.js'; const subscriber_queue = [];