mirror of
https://github.com/acid-info/lsd.git
synced 2025-01-12 10:04:24 +00:00
fix: cjs build only
This commit is contained in:
parent
c05904a909
commit
37991faa3a
@ -2,7 +2,7 @@
|
||||
"name": "@acid-info/lsd-react",
|
||||
"version": "0.1.0-alpha.5",
|
||||
"types": "./dist/index.d.ts",
|
||||
"main": "./dist/lsd-react.mjs",
|
||||
"main": "./dist/lsd-react.js",
|
||||
"require": "./dist/lsd-react.umd.js",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
@ -24,6 +24,7 @@ export default defineConfig({
|
||||
entry: path.resolve(__dirname, './src/index.ts'),
|
||||
name: 'lsd-react',
|
||||
fileName: 'lsd-react',
|
||||
formats: ['cjs', 'umd'],
|
||||
},
|
||||
rollupOptions: {
|
||||
external: ['react', 'react-dom', '@emotion/styled', '@emotion/react'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user