Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
wmertens committed Oct 15, 2024
1 parent f23d670 commit 4381105
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
36 changes: 18 additions & 18 deletions packages/qwik/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,13 @@
"dependencies": {
"csstype": "^3.1"
},
"peerDependencies": {
"prettier": "*",
"vite": "^5",
"vitest": "^2"
},
"peerDependenciesMeta": {
"vite": {
"optional": true
},
"vitest": {
"optional": true
},
"prettier": {
"optional": true
}
},
"devDependencies": {
"@builder.io/qwik": "workspace:^",
"@builder.io/qwik-dom": "workspace:^",
"image-size": "1.1.1",
"kleur": "4.1.5",
"vitest": "2.0.5",
"prettier": "3.3.3"
"prettier": "3.3.3",
"vitest": "2.0.5"
},
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
Expand Down Expand Up @@ -174,6 +158,22 @@
],
"license": "MIT",
"main": "./src/index.ts",
"peerDependencies": {
"prettier": "*",
"vite": "^5",
"vitest": "^2"
},
"peerDependenciesMeta": {
"vite": {
"optional": true
},
"vitest": {
"optional": true
},
"prettier": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "https://github.com/QwikDev/qwik.git",
Expand Down
4 changes: 2 additions & 2 deletions packages/qwik/src/server/prefetch-strategy.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { getBuildBase } from './utils';
import { isDev } from '@builder.io/qwik/build';
import type { PrefetchResource, QwikManifest, RenderToStringOptions } from './types';

import type { QRLInternal } from './qwik-types';
import type { ResolvedManifest } from '@builder.io/qwik/optimizer';
import type { QRL } from '@builder.io/qwik';
import { qDev } from '../core/shared/utils/qdev';

export function getPrefetchResources(
qrls: QRL[],
Expand Down Expand Up @@ -70,7 +70,7 @@ function addBundle(
buildBase: string,
bundleFileName: string
) {
const url = qDev ? bundleFileName : buildBase + bundleFileName;
const url = isDev ? bundleFileName : buildBase + bundleFileName;
let prefetchResource = urls.get(url);
if (!prefetchResource) {
prefetchResource = {
Expand Down

0 comments on commit 4381105

Please sign in to comment.