mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
fix(packages): enable unbundle mode to avoid mangled exports
This commit is contained in:
@@ -15,6 +15,7 @@ const createConfig = (mode: BuildMode): UserConfig => ({
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
hash: false,
|
||||
unbundle: true,
|
||||
alias: {
|
||||
'@': new URL('./src/core', import.meta.url).pathname,
|
||||
},
|
||||
|
||||
@@ -23,6 +23,7 @@ const createConfig = (mode: BuildMode): UserConfig => ({
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
hash: false,
|
||||
unbundle: true,
|
||||
alias: {
|
||||
'@': new URL('./src', import.meta.url).pathname,
|
||||
},
|
||||
|
||||
@@ -14,6 +14,7 @@ const createConfig = (mode: BuildMode): UserConfig => ({
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
hash: false,
|
||||
unbundle: true,
|
||||
alias: {
|
||||
'@': new URL('./src', import.meta.url).pathname,
|
||||
},
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
"@videojs/utils": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.0.0",
|
||||
"@types/react-dom": "^18.0.0",
|
||||
"@types/react": "^19.0.0",
|
||||
"@types/react-dom": "^19.0.0",
|
||||
"@tailwindcss/vite": "^4.1.17",
|
||||
"@vitejs/plugin-react": "^4.0.0",
|
||||
"tailwindcss": "^4.1.17",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0",
|
||||
"react": "^19.0.0",
|
||||
"react-dom": "^19.0.0",
|
||||
"tsx": "^4.0.0",
|
||||
"typescript": "^5.0.0",
|
||||
"vite": "^6.0.0"
|
||||
|
||||
@@ -16,6 +16,7 @@ const createConfig = (mode: BuildMode): UserConfig => ({
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
hash: false,
|
||||
unbundle: true,
|
||||
alias: {
|
||||
'@': new URL('./src/core', import.meta.url).pathname,
|
||||
},
|
||||
|
||||
@@ -16,6 +16,7 @@ export default defineConfig({
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
hash: false,
|
||||
unbundle: true,
|
||||
alias: {
|
||||
'@': new URL('./src', import.meta.url).pathname,
|
||||
},
|
||||
|
||||
Generated
+8
-17
@@ -283,20 +283,20 @@ importers:
|
||||
specifier: ^4.1.17
|
||||
version: 4.1.18(vite@6.4.1(@types/node@22.19.3)(jiti@2.6.1)(lightningcss@1.30.2)(tsx@4.21.0)(yaml@2.8.2))
|
||||
'@types/react':
|
||||
specifier: ^18.0.0
|
||||
version: 18.3.27
|
||||
specifier: ^19.0.0
|
||||
version: 19.2.7
|
||||
'@types/react-dom':
|
||||
specifier: ^18.0.0
|
||||
version: 18.3.7(@types/react@18.3.27)
|
||||
specifier: ^19.0.0
|
||||
version: 19.2.3(@types/react@19.2.7)
|
||||
'@vitejs/plugin-react':
|
||||
specifier: ^4.0.0
|
||||
version: 4.7.0(vite@6.4.1(@types/node@22.19.3)(jiti@2.6.1)(lightningcss@1.30.2)(tsx@4.21.0)(yaml@2.8.2))
|
||||
react:
|
||||
specifier: ^18.0.0
|
||||
version: 18.3.1
|
||||
specifier: ^19.0.0
|
||||
version: 19.2.3
|
||||
react-dom:
|
||||
specifier: ^18.0.0
|
||||
version: 18.3.1(react@18.3.1)
|
||||
specifier: ^19.0.0
|
||||
version: 19.2.3(react@19.2.3)
|
||||
tailwindcss:
|
||||
specifier: ^4.1.17
|
||||
version: 4.1.18
|
||||
@@ -2809,11 +2809,6 @@ packages:
|
||||
'@types/prop-types@15.7.15':
|
||||
resolution: {integrity: sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==}
|
||||
|
||||
'@types/react-dom@18.3.7':
|
||||
resolution: {integrity: sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==}
|
||||
peerDependencies:
|
||||
'@types/react': ^18.0.0
|
||||
|
||||
'@types/react-dom@19.2.3':
|
||||
resolution: {integrity: sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==}
|
||||
peerDependencies:
|
||||
@@ -9431,10 +9426,6 @@ snapshots:
|
||||
|
||||
'@types/prop-types@15.7.15': {}
|
||||
|
||||
'@types/react-dom@18.3.7(@types/react@18.3.27)':
|
||||
dependencies:
|
||||
'@types/react': 18.3.27
|
||||
|
||||
'@types/react-dom@19.2.3(@types/react@19.2.7)':
|
||||
dependencies:
|
||||
'@types/react': 19.2.7
|
||||
|
||||
Reference in New Issue
Block a user