File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,13 @@ import { defineConfig } from "vite";
22import dtsPlugin from "vite-plugin-dts" ;
33import tsconfigPaths from "vite-tsconfig-paths" ;
44import { isAbsolute } from "node:path" ;
5+ import languagesPlugin from "facilmap-utils/rollup-languages" ;
56
67export default defineConfig ( {
78 plugins : [
89 dtsPlugin ( { rollupTypes : true } ) ,
9- tsconfigPaths ( { loose : true } )
10+ tsconfigPaths ( { loose : true } ) ,
11+ languagesPlugin ( )
1012 ] ,
1113 build : {
1214 sourcemap : false ,
@@ -22,6 +24,7 @@ export default defineConfig({
2224 external : ( id ) => (
2325 ! id . startsWith ( "./" )
2426 && ! id . startsWith ( "../" )
27+ && ! id . startsWith ( "virtual:" )
2528 && /* resolved internal modules */ ! isAbsolute ( id )
2629 && ! [ "facilmap-types" , "facilmap-utils" ] . includes ( id )
2730 )
You can’t perform that action at this time.
0 commit comments