@absolutejs/absolute 0.19.0-beta.215 → 0.19.0-beta.216
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Image-k52pzpdh.vue → Image-7r6nfts6.vue} +1 -6
- package/dist/build.js +2 -2
- package/dist/build.js.map +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +3 -3
- package/dist/svelte/components/Image.svelte +1 -6
- package/dist/vue/components/Image.vue +1 -6
- package/dist/vue/components/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { computed, ref } from 'vue';
|
|
3
|
-
import {
|
|
4
|
-
DEFAULT_QUALITY,
|
|
5
|
-
buildOptimizedUrl,
|
|
6
|
-
generateBlurSvg,
|
|
7
|
-
generateSrcSet
|
|
8
|
-
} from '@absolutejs/absolute/image';
|
|
3
|
+
import { DEFAULT_QUALITY, buildOptimizedUrl, generateBlurSvg, generateSrcSet } from '@absolutejs/absolute/image';
|
|
9
4
|
|
|
10
5
|
type ImageLoader = (params: {
|
|
11
6
|
src: string;
|
package/dist/build.js
CHANGED
|
@@ -174177,7 +174177,7 @@ ${stubs}
|
|
|
174177
174177
|
}
|
|
174178
174178
|
return `${prefix}/@stub/${encodeURIComponent(specifier)}${suffix}`;
|
|
174179
174179
|
};
|
|
174180
|
-
result = result.replace(/^((?:import\s
|
|
174180
|
+
result = result.replace(/^((?:import\s+[\s\S]+?\s+from|export\s+[\s\S]+?\s+from|import)\s*["'])([^"'./][^"']*)(["'])/gm, stubReplace);
|
|
174181
174181
|
result = result.replace(/(import\s*\(\s*["'])([^"'./][^"']*)(["']\s*\))/g, stubReplace);
|
|
174182
174182
|
const fileDir = dirname7(filePath);
|
|
174183
174183
|
result = result.replace(/(from\s*["'])(\.\.?\/[^"']+)(["'])/g, (_match, prefix, relPath, suffix) => `${prefix}${resolveRelativeImport(relPath, fileDir, projectRoot, IMPORT_EXTENSIONS)}${suffix}`);
|
|
@@ -176710,5 +176710,5 @@ export {
|
|
|
176710
176710
|
build
|
|
176711
176711
|
};
|
|
176712
176712
|
|
|
176713
|
-
//# debugId=
|
|
176713
|
+
//# debugId=B5B95DBA2BB208B564756E2164756E21
|
|
176714
176714
|
//# sourceMappingURL=build.js.map
|