diff options
Diffstat (limited to 'vite.config.js')
-rw-r--r-- | vite.config.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/vite.config.js b/vite.config.js index 68076e9..b0880df 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,3 +1,6 @@ +/* eslint-disable */ +import path from 'path'; + export default { build: { sourcemap: true, @@ -18,9 +21,9 @@ export default { }, resolve: { alias: { - "~bootstrap": "node_modules/bootstrap", - "~bootstrap-icons": "node_modules/bootstrap-icons", - "~ol": "node_modules/ol", + "~bootstrap": path.resolve(__dirname, "node_modules/bootstrap"), + "~bootstrap-icons": path.resolve(__dirname, "node_modules/bootstrap-icons"), + "~ol": path.resolve(__dirname, "node_modules/ol"), } }, server: { |