fix(packages): ship web and theme assets
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
"types": "./lib/types/client/index.d.ts",
|
||||
"default": "./lib/client.js"
|
||||
},
|
||||
"./styles/*": "./src/styles/*",
|
||||
"./styles/*": "./lib/styles/*",
|
||||
"./src/*": "./src/*",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
@@ -56,6 +56,7 @@
|
||||
"lib/index.js",
|
||||
"lib/invariant.js",
|
||||
"lib/client.js",
|
||||
"lib/styles",
|
||||
"lib/types/**/*.d.ts",
|
||||
"lib/types/**/*.d.ts.map",
|
||||
"src"
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
import { clientBundle } from '../tsdown.client.ts'
|
||||
|
||||
export default clientBundle('@deepseek-ai/dsh-client-ui-theme', ['lib/types/index.js', 'lib/types/invariant.js'])
|
||||
const [lib, client] = clientBundle(
|
||||
'@deepseek-ai/dsh-client-ui-theme',
|
||||
['lib/types/index.js', 'lib/types/invariant.js'],
|
||||
)
|
||||
|
||||
export default [{
|
||||
...lib,
|
||||
copy: [{ from: 'src/styles/*', to: 'lib/styles' }],
|
||||
}, client]
|
||||
|
||||
Reference in New Issue
Block a user