mirror of
https://github.com/pezkuwichain/pezkuwi-extension.git
synced 2026-07-20 16:55:43 +00:00
Downgrade styled-components to v5 for TypeScript compatibility
- Downgrade styled-components from v6.1.1 to v5.3.11 - Add @types/styled-components for v5 type definitions - Simplify styled.ts export (v5 uses default export) - Remove tsconfig skipLibCheck workaround (not needed with v5) - Add string-replace-loader dependency for webpack - Update @pezkuwi/dev to 0.85.4 (includes rollup config export fix) This fixes TS2742 declaration emit errors that prevented npm package builds while allowing Chrome/Firefox extension bundles.
This commit is contained in:
@@ -3,9 +3,7 @@
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src",
|
||||
// Required for styled-components v6 declaration emission compatibility
|
||||
"skipLibCheck": true
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"exclude": [
|
||||
"**/*.spec.ts"
|
||||
|
||||
Reference in New Issue
Block a user