Add sourcemaps

This commit is contained in:
Jonathan Staab 2022-12-05 21:46:40 -08:00
parent 2c1f529524
commit 4e7c90216b
2 changed files with 5 additions and 4 deletions

View File

@ -2,8 +2,7 @@ Bugs
- [ ] Prevent tabs from re-mounting (or at least re- animating)
- [ ] Go "back" after adding a note
- [ ] When the back button is clicked while a modal is open, close the modal instead
- [ ] uniq is sprinkled all over the place, figure out a better solution for de-duplication
- [ ] uniq and sortBy are sprinkled all over the place, figure out a better solution
- [ ] With link/image previews, remove the url from the note body if it's on a separate last line
Features
@ -14,8 +13,7 @@ Features
- [ ] Permalink note detail (share/permalink button?)
- [ ] Add "view thread" page that recurs more deeply
- [ ] Fix replies - notes may only include a "root" in its tags
- [x] Link previews https://github.com/Dhaiwat10/svelte-link-preview, https://microlink.io/sdk
- Make them opt-in
- [x] Link previews
- [ ] Add notes, follows, likes tab to profile
- [ ] Followers, blocks, likes on profile
- [ ] Notifications

View File

@ -4,6 +4,9 @@ import { svelte } from '@sveltejs/vite-plugin-svelte'
import { nodePolyfills } from 'vite-plugin-node-polyfills'
export default defineConfig({
build: {
sourcemap: true,
},
resolve: {
alias: {
src: path.resolve(__dirname, 'src'),