diff --git a/package.json b/package.json index a60539552..e8151bf25 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,9 @@ }, "dependencies": { "@vuepic/vue-datepicker": "^7.2.0", + "axios": "^1.6.8", "primevue": "^3.29.1", + "tabulator-tables": "^5.5.2", "vue": "^3.3.8", "vue-router": "^4.1.3" }, @@ -17,6 +19,7 @@ "@rollup/plugin-alias": "^5.1.0", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^25.0.7", + "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-replace": "^5.0.5", "@rollup/plugin-terser": "^0.4.4", diff --git a/rollup.config.js b/rollup.config.js index df60158e3..58254821f 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -10,6 +10,7 @@ import replace from '@rollup/plugin-replace'; import alias from '@rollup/plugin-alias'; import { existsSync } from 'node:fs'; import terser from '@rollup/plugin-terser'; +import json from '@rollup/plugin-json'; function FhcResolver () { return { @@ -59,6 +60,7 @@ export default { } }), nodeResolve({ + preferBuiltins: true, moduleDirectories: ['node_modules'], modulePaths: globSync('application/extensions/*/node_modules', {follow: true, realpath: true}).map(file => fileURLToPath(new URL(file, import.meta.url)) @@ -71,6 +73,7 @@ export default { }), commonjs(), vue(), + json(), babel({ babelHelpers: 'bundled', plugins: ['transform-class-properties']