Jin
534c146542
Merge branch 'develop' into webpack
2025-03-28 23:00:59 +01:00
Jin
4a2c075935
chore: 🤖 remove calendar css from library_loader
2025-03-28 17:08:34 +01:00
Panagiotis Papadopoulos
1c49cb0569
build(webpack): fix copy-to path name
...
this will now end up in "src/public/app-dist/excalidraw/fonts/"
excalidraw *needs* the fonts to be in a folder called "fonts" as it appends the "EXCALIDRAW_ASSET_PATH" variable with "fonts" automatically -> therefore switch names around to fix the issue
2025-03-27 23:53:08 +01:00
Panagiotis Papadopoulos
ee2ee2c291
build(webpack): copy required excalidraw fonts
2025-03-27 23:15:47 +01:00
Elian Doran
c2cb48a25c
chore(deps): update to excalidraw 0.18.0
2025-03-11 22:59:16 +02:00
Panagiotis Papadopoulos
607f9096aa
build: output into "build" folder again → "dist" will be used for the final output in archive form
...
this will allow for cleaner separation -> build for the output from the build stage (i.e. TS/Webpack + asset copying) and dist for the archive format of the build folder
2025-03-09 18:59:54 +01:00
Panagiotis Papadopoulos
5e289ea12d
build: get rid of intermediary "build" folder -> use "dist" directly
2025-03-07 23:14:56 +01:00
Panagiotis Papadopoulos
2be9389f3b
build(webpack): change to nosources-source-map
...
as per https://webpack.js.org/configuration/devtool/#production
serving the `source-map` file to "normal" users seems to be not recommended, so instead let's go with `nosources-source-map`:
a) this drastically reduces app-dist folder size from 20MB down to 8.7MB
b) it still allows for stack traces
2025-03-07 23:14:56 +01:00
Panagiotis Papadopoulos
745b294ca1
build(webpack): output webpack build in build folder
...
output the bundled files directly in the build folder
a) keeps the src folder clean from build output
b) it saves us some "manual" copying work
2025-03-07 23:14:56 +01:00
Panagiotis Papadopoulos
cdb988ff64
webpack: revert accidental changing of devtool
2025-02-22 13:02:40 +01:00
Panagiotis Papadopoulos
0b4f5e998e
webpack: add filename option to miniCssExtractPlugin
...
commented out for now, because it currently does not make sense yet.
This will be working, when I change webpack output to the "build" folder
instead of the current (messy) way, where it outputs into src/public/app-dist
2025-02-22 11:56:56 +01:00
Panagiotis Papadopoulos
dde24785b8
entrypoint: add missing login entry point and port to TS
2025-02-22 11:56:56 +01:00
Panagiotis Papadopoulos
f6d9b42911
entrypoint: add missing, currently required set_password entry point
...
TODO: I think this can actually be part of the setup entrypoint/view at some point
2025-02-22 11:56:56 +01:00
Panagiotis Papadopoulos
ac53079a39
webpack: replace style-loader with mini-css-extract-plugin
...
will allow to have css files instead of style blocks in the html file
2025-02-22 11:56:56 +01:00
Panagiotis Papadopoulos
fc6b9e00bc
webpack: add bootstrap webpack config
...
https://getbootstrap.com/docs/5.3/getting-started/webpack/
2025-02-22 11:56:56 +01:00
Elian Doran
faf14e1b14
Merge pull request #1043 from TriliumNext/fix_webpack-share-entry
...
fix(webpack): add missing share.js entry point
2025-01-25 23:42:41 +02:00
Panagiotis Papadopoulos
2031029076
chore(webpack): add Configuration type
...
-> allows for intellisense in e.g. VSCode
2025-01-25 11:31:46 +01:00
Panagiotis Papadopoulos
b7f8f00a14
fix(webpack): add missing share.js entry point
2025-01-24 19:30:07 +01:00
Elian Doran
4cbb529fd4
chore(prettier): fix all files
2025-01-09 18:07:02 +02:00
Elian Doran
e7e763435e
feat(client): use shared config which also fixes production builds
2024-12-21 21:22:27 +02:00
Elian Doran
3dbf8fb1c1
build: Fix running webpack on ESM
2024-07-23 00:12:08 +03:00
Elian Doran
2750df04a3
server-esm: Change simple library import statements
2024-07-18 21:37:45 +03:00
Elian Doran
35d11cc0d2
server-esm: Change simple local import statements
2024-07-18 21:35:17 +03:00
Elian Doran
947aaa6156
webpack: Switch to TypeScript-based config
2024-07-13 21:10:40 +03:00
Elian Doran
60d134a89b
Revert "docker: Fix webpack"
...
This reverts commit 0a7fcf399fb854a29c405d2d79f579d5a910bcc1.
2024-07-13 11:32:02 +03:00
Elian Doran
0a7fcf399f
docker: Fix webpack
2024-07-13 11:06:45 +03:00