Skip to content

Commit

Permalink
fix: add remark-directive path resolution in vite config
Browse files Browse the repository at this point in the history
- Add remark-directive to resolve.alias config to fix build error
- Ensure proper module resolution in the build process
  • Loading branch information
hexart authored Jan 23, 2025
1 parent 1de64e0 commit 9431b84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export default defineConfig({
react: path.resolve(__dirname, './node_modules/react'),
'usehooks-ts': path.resolve(__dirname, './node_modules/usehooks-ts'),
lodash: path.resolve(__dirname, './node_modules/lodash'),
recoil: path.resolve(__dirname, './node_modules/recoil')
recoil: path.resolve(__dirname, './node_modules/recoil'),
'remark-directive': path.resolve(__dirname, './node_modules/remark-directive')
}
}
});

0 comments on commit 9431b84

Please sign in to comment.