File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 "echarts" : " ^6.0.0" ,
2525 "katex" : " ^0.13.24" ,
2626 "mathjs" : " ^15.1.0" ,
27- "@openmagnetics/magnetic-virtual-builder" : " file:../MVB.js " ,
27+ "@openmagnetics/magnetic-virtual-builder" : " ^1.1.0 " ,
2828 "pinia" : " ^3.0.4" ,
2929 "pinia-plugin-persistedstate" : " ^4.7.1" ,
3030 "primeflex" : " ^3.3.1" ,
Original file line number Diff line number Diff line change @@ -117,11 +117,12 @@ export default defineConfig({
117117 {
118118 find : '@' ,
119119 replacement : fileURLToPath ( new URL ( './src' , import . meta. url ) )
120- } ,
121- {
122- find : '@openmagnetics/magnetic-virtual-builder' ,
123- replacement : fileURLToPath ( new URL ( '../MVB.js/src/index.js' , import . meta. url ) )
124120 }
121+ //,
122+ //{
123+ //find: '@openmagnetics/magnetic-virtual-builder',
124+ //replacement: fileURLToPath(new URL('../MVB.js/src/index.js', import.meta.url))
125+ //}
125126 ] ,
126127 } ,
127128 server : {
@@ -132,7 +133,7 @@ export default defineConfig({
132133 watch : {
133134 usePolling : true ,
134135 interval : 1000 ,
135- ignored : [ '**/node_modules/**' , '!**/node_modules/@openmagnetics/magnetic-virtual-builder/src/**' ]
136+ // ignored: ['**/node_modules/**', '!**/node_modules/@openmagnetics /magnetic-virtual-builder/src/**']
136137 } ,
137138 // Force worker to reload when MVB.js changes
138139 hmr : {
You can’t perform that action at this time.
0 commit comments