File tree Expand file tree Collapse file tree 3 files changed +4
-14
lines changed Expand file tree Collapse file tree 3 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ export default defineConfig({
1010 output : {
1111 distPath : {
1212 root : './dist/esm' ,
13- css : '.' ,
14- cssAsync : '.' ,
1513 } ,
1614 } ,
1715 } ,
@@ -21,8 +19,6 @@ export default defineConfig({
2119 output : {
2220 distPath : {
2321 root : './dist/cjs' ,
24- css : '.' ,
25- cssAsync : '.' ,
2622 } ,
2723 } ,
2824 } ,
Original file line number Diff line number Diff line change @@ -3,16 +3,7 @@ import { defineConfig } from '@rslib/core';
33
44export default defineConfig ( {
55 plugins : [ pluginVue ( ) ] ,
6- lib : [
7- {
8- format : 'esm' ,
9- output : {
10- distPath : {
11- css : '.' ,
12- } ,
13- } ,
14- } ,
15- ] ,
6+ lib : [ { format : 'esm' } ] ,
167 output : {
178 target : 'web' ,
189 } ,
Original file line number Diff line number Diff line change @@ -463,6 +463,9 @@ export async function createConstantRsbuildConfig(): Promise<RsbuildConfig> {
463463 filenameHash : false ,
464464 distPath : {
465465 js : './' ,
466+ jsAsync : './' ,
467+ css : './' ,
468+ cssAsync : './' ,
466469 } ,
467470 } ,
468471 } ) ;
You can’t perform that action at this time.
0 commit comments