File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "version" : " 1.0.9 " ,
2+ "version" : " 1.0.10 " ,
33 "license" : " MIT" ,
44 "main" : " dist/cjs/index.js" ,
55 "module" : " dist/esm/index.mjs" ,
Original file line number Diff line number Diff line change 1- import { pluginReact } from '@rsbuild/plugin-react' ;
2- import { defineConfig } from '@rslib/core' ;
3-
4- const shared = {
5- dts : {
6- bundle : false ,
7- } ,
8- } ;
1+ import { pluginReact } from "@rsbuild/plugin-react" ;
2+ import { defineConfig } from "@rslib/core" ;
93
104export default defineConfig ( {
115 lib : [
126 {
13- ... shared ,
14- format : 'esm' ,
7+ format : "esm" ,
8+ bundle : false ,
159 output : {
1610 distPath : {
17- root : ' ./dist/esm' ,
11+ root : " ./dist/esm" ,
1812 } ,
1913 } ,
2014 } ,
2115 {
22- ... shared ,
23- format : 'cjs' ,
16+ format : "cjs" ,
17+ bundle : false ,
2418 output : {
2519 distPath : {
26- root : ' ./dist/cjs' ,
20+ root : " ./dist/cjs" ,
2721 } ,
2822 } ,
2923 } ,
3024 ] ,
3125 plugins : [
3226 pluginReact ( {
3327 swcReactOptions : {
34- runtime : ' automatic' ,
28+ runtime : " automatic" ,
3529 } ,
3630 } ) ,
3731 ] ,
38- } ) ;
32+ } ) ;
You can’t perform that action at this time.
0 commit comments