Skip to content

Commit

Permalink
fix duplicate jsx implementation error
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasPor committed Oct 1, 2023
1 parent eb82d46 commit 4aae248
Show file tree
Hide file tree
Showing 3 changed files with 973 additions and 790 deletions.
19 changes: 19 additions & 0 deletions adapters/static/vite.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { staticAdapter } from '@builder.io/qwik-city/adapters/static/vite';
import { extendConfig } from '@builder.io/qwik-city/vite';
import baseConfig from '../../vite.config';

export default extendConfig(baseConfig, () => {
return {
build: {
ssr: true,
rollupOptions: {
input: ['@qwik-city-plan'],
},
},
plugins: [
staticAdapter({
origin: 'https://yoursite.qwik.dev',
}),
],
};
});
26 changes: 14 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"heroicons"
],
"types": "./lib/utils/index.d.ts",
"qwik": "./lib/entry.lib.qwik.mjs",
"exports": {
".": {
"import": "./lib/entry.lib.qwik.mjs",
Expand Down Expand Up @@ -116,22 +117,23 @@
},
"scripts": {
"build": "qwik build",
"link.lib": "pnpm build.lib && pnpm link -g",
"build.lib": "pnpm build.lib.browser && pnpm build.lib.types",
"build.lib.browser": "vite build --mode lib",
"build.lib.types": "tsc -p tsconfig.lib.json",
"build.server": "vite build -c adapters/static/vite.config.ts",
"dev": "vite --mode ssr",
"dev.debug": "node --inspect-brk ./node_modules/vite/bin/vite.js --mode ssr --force",
"fmt": "prettier --write .",
"fmt.check": "prettier --check .",
"generate-5-icons": "export ICON_LIMIT=5 && pnpm tsm ./generate/generate-icons.ts",
"generate-50-icons": "export ICON_LIMIT=50 && pnpm tsm ./generate/generate-icons.ts",
"generate-icons": "pnpm tsm ./generate/generate-icons.ts",
"generate-license": "pnpm tsm ./generate/generate-license.ts",
"link.lib": "pnpm build.lib && pnpm link -g",
"lint": "eslint \"src/**/*.ts*\"",
"release": "pnpm generate-icons && pnpm generate-license && pnpm build.lib && pnpm build.lib.types && pnpm np --yolo",
"start": "vite --open --mode ssr",
"qwik": "qwik",
"generate-icons": "pnpm tsm ./generate/generate-icons.ts",
"generate-5-icons": "export ICON_LIMIT=5 && pnpm tsm ./generate/generate-icons.ts",
"generate-50-icons": "export ICON_LIMIT=50 && pnpm tsm ./generate/generate-icons.ts",
"generate-license": "pnpm tsm ./generate/generate-license.ts"
"qwik": "qwik"
},
"devDependencies": {
"@builder.io/qwik": "^1.0.0",
Expand All @@ -142,14 +144,10 @@
"@types/tar": "^6.1.4",
"@typescript-eslint/eslint-plugin": "5.53.0",
"@typescript-eslint/parser": "5.53.0",
"bootstrap-icons": "^1.10.3",
"eslint": "8.34.0",
"eslint": "8.50.0",
"eslint-plugin-qwik": "latest",
"fast-glob": "^3.2.12",
"got": "^12.5.3",
"heroicons": "^2.0.16",
"ionicons": "^6.1.3",
"lucide-static": ">=0.115.0 <1.0.0",
"node-fetch": "3.3.0",
"node-stream-zip": "^1.15.0",
"np": "7.6.3",
Expand All @@ -159,7 +157,11 @@
"ts-node": "^10.9.1",
"typescript": "4.9.5",
"undici": "5.20.0",
"vite": "4.1.4"
"vite": "4.1.4",
"bootstrap-icons": "^1.10.3",
"heroicons": "^2.0.18",
"ionicons": "^7.1.2",
"lucide-static": ">=0.297.0 <1.0.0"
},
"peerDependencies": {
"@builder.io/qwik": ">=1.0.0"
Expand Down
Loading

0 comments on commit 4aae248

Please sign in to comment.