File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 3737 "build:themeable" : " node scripts/themeable-source" ,
3838 "build:pages:vite" : " vite build" ,
3939 "build:pages:tsc" : " tsc -p pages/tsconfig.json" ,
40- "build:pages:lib " : " vite build -c vite.config.dev-pages.mjs"
40+ "build:pages:bundle " : " vite build -c vite.config.dev-pages.mjs"
4141 },
4242 "exports" : {
4343 "." : " ./index.js" ,
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
1010
1111const componentsPath = resolve ( __dirname , "lib/components" ) ;
1212
13- const globals = { [ componentsPath ] : "components" } ;
14-
1513// https://vitejs.dev/config/
1614export default defineConfig ( {
1715 plugins : [ react ( { fastRefresh : false } ) ] ,
@@ -29,9 +27,6 @@ export default defineConfig({
2927 outDir : "lib/dev-pages/bundle" ,
3028 rollupOptions : {
3129 external : [ componentsPath ] ,
32- output : {
33- globals,
34- } ,
3530 } ,
3631 } ,
3732} ) ;
You can’t perform that action at this time.
0 commit comments