File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1- import messages from 'public/_locales/en/messages.json' ;
1+ import messages from '~/ public/_locales/en/messages.json' ;
22
33export default defineBackground ( {
44 // type: 'module',
Original file line number Diff line number Diff line change @@ -12,9 +12,6 @@ export default defineConfig({
1212 } ,
1313 ] ,
1414 } ,
15- alias : {
16- public : 'src/public' ,
17- } ,
1815 zip : {
1916 downloadPackages : [ 'sass' ] ,
2017 } ,
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ export async function createViteBuilder(
3535 config . mode = wxtConfig . mode ;
3636
3737 config . build ??= { } ;
38+ config . publicDir = wxtConfig . publicDir ;
39+ config . build . copyPublicDir = false ;
3840 config . build . outDir = wxtConfig . outDir ;
3941 config . build . emptyOutDir = false ;
4042 // Disable minification for the dev command
You can’t perform that action at this time.
0 commit comments