File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,12 @@ function getViteConfig(
62
62
kirbyupGlobImportPlugin ( ) ,
63
63
{ ...externalGlobals ( { vue : 'Vue' } ) , enforce : 'post' } ,
64
64
] ,
65
- css : { postcss : resolvedPostCssConfig } ,
65
+ build : {
66
+ copyPublicDir : false ,
67
+ } ,
68
+ css : {
69
+ postcss : resolvedPostCssConfig ,
70
+ } ,
66
71
envPrefix : [ 'VITE_' , 'KIRBYUP_' ] ,
67
72
customLogger : logger ,
68
73
logLevel,
@@ -96,8 +101,8 @@ function getViteConfig(
96
101
const mode = options . watch ? 'development' : 'production'
97
102
98
103
const buildConfig : InlineConfig = mergeConfig ( sharedConfig , {
99
- plugins : [ kirbyupBuildCleanupPlugin ( options as BuildOptions ) ] ,
100
104
mode,
105
+ plugins : [ kirbyupBuildCleanupPlugin ( options as BuildOptions ) ] ,
101
106
build : {
102
107
lib : {
103
108
entry : resolve ( options . cwd , options . entry ) ,
You can’t perform that action at this time.
0 commit comments