mirror of
https://github.com/pezkuwichain/pezkuwi-extension.git
synced 2026-04-22 02:08:03 +00:00
Disable declaration emission for extension-ui (not npm-published package)
This commit is contained in:
@@ -104,3 +104,4 @@ export default styled(Button)<ButtonProps>(({ isDanger }) => `
|
||||
visibility: visible;
|
||||
}
|
||||
`);
|
||||
|
||||
|
||||
@@ -3,7 +3,12 @@
|
||||
"compilerOptions": {
|
||||
"baseUrl": "..",
|
||||
"outDir": "./build",
|
||||
"rootDir": "./src"
|
||||
"rootDir": "./src",
|
||||
// extension-ui is not published to npm - declarations are not needed
|
||||
// This also fixes TS2742 errors with styled-components v6 + TypeScript 5.5+
|
||||
"declaration": false,
|
||||
"declarationMap": false,
|
||||
"emitDeclarationOnly": false
|
||||
},
|
||||
"exclude": [
|
||||
"**/*.spec.ts"
|
||||
|
||||
Reference in New Issue
Block a user