refactor: client-namespace projection file named client/types.ts (layout ruling)
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
"default": "./lib/types/types.js"
|
||||
},
|
||||
"./client/types": {
|
||||
"types": "./lib/types/client/index.d.ts",
|
||||
"default": "./lib/types/client/index.js"
|
||||
"types": "./lib/types/client/types.d.ts",
|
||||
"default": "./lib/types/client/types.js"
|
||||
},
|
||||
"./src/*": "./src/*",
|
||||
"./package.json": "./package.json"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Browser half-entry of the title domain: a pure re-export of the package's
|
||||
* Client-namespace projection of the title domain: a pure re-export of the package's
|
||||
* types outlet. Client code imports ONLY the client namespace (repo
|
||||
* discipline), so `./client/types` projects the same single-source content
|
||||
* `./types` serves to host consumers — zero duplication.
|
||||
Reference in New Issue
Block a user