SamTV12345
c7a2dea4d1
Feat/frontend vitest ( #6469 )
...
* Added vitest tests.
* Added Settings tests to vitest - not working
* Added attributes and attributemap to vitest.
* Added more tests.
* Also run the vitest tests.
* Also run withoutPlugins
* Fixed pnpm lock
2024-08-16 22:55:42 +02:00
SamTV12345
550a29f3e6
Added new command to setup etherpad. Fixed Dockerfile
2024-07-23 17:43:32 +02:00
SamTV12345
d6d636955c
Feat/bundle js ( #6511 )
...
* Added minify
* Added POC for browser
* Moved first js files to ts
* Fixed caret positioning
* Added support for plugins
* Fixed get undefined.
* Removed require of socketio, l10n, html10n and error reporter
* Added minify
* Added POC for browser
* Moved first js files to ts
* Fixed caret positioning
* Added support for plugins
* Fixed get undefined.
* Removed require of socketio, l10n, html10n and error reporter
* Fixed popup not showing
* Fixed timeslider
* Reworked paths
* Fixed loading
* Don't generate sources map in production mode
* Non working hmr
* Added live reloading.
* Fixed timeslider when hot reloading
* Removed eval
* Fixed.
* Fixed env
* Fixed frontend tests.
* Added minifying via lightningcss
* Added minify via esbuild
* Fixed diagnostic url
* Removed lightningcss
* Fixed types
* Fixed alias
* Fixed loadtest
* Fixed
* Fixed loading ep_font_color3
* Restructure windows build
* Fixed windows build
* Fixed pnpm lock
---------
Co-authored-by: SamTv12345 <samtv12345@samtv12345.com>
2024-07-18 08:51:30 +02:00
SamTV12345
b84b4c0878
Removed lightningcss ( #6509 )
...
Co-authored-by: SamTv12345 <samtv12345@samtv12345.com>
2024-07-12 11:16:07 +02:00
SamTV12345
426174d491
Feat/lightningcss ( #6427 )
...
* Added lightning css for minification of css
* Added esbuild for minification
* Upgraded to Node 22
* Fixed.
* Temporary change branch
* Rebased changes.
2024-06-03 22:32:06 +02:00
Richard Hansen
24b22e3a6d
MinifyWorker: Fix buggy error handling in compressCSS
2021-11-19 02:47:17 -05:00
Richard Hansen
98f0e931fe
MinifyWorker: Promisify compressCSS
2021-11-19 02:47:17 -05:00
Richard Hansen
c94906f1f8
MinifyWorker: Delete unhelpful comment
...
The comment should have been a commit message instead.
2021-11-19 02:47:17 -05:00
Richard Hansen
797ffa5600
Minify: Avoid path.relative()
...
Constructing a relative pathname on Windows is problematic because the
two absolute pathnames might be on different drives (or UNC paths).
Use `path.resolve()` instead of `path.join()` where appropriate to
avoid the need to construct a relative path.
2021-03-02 06:20:10 +00:00
John McLear
b11ba23208
lint: src/node/utils/MinifyWorker.js
2021-01-25 22:53:11 -05:00
Richard Hansen
8e5fd19db2
lint: Run eslint --fix on src/
2020-11-24 20:06:12 +00:00
Richard Hansen
7df3ded66f
lint: Put opening brace on same line as function
...
Normally I would let `eslint --fix` do this for me, but there's a bug
that causes:
const x = function ()
{
// ...
};
to become:
const x = ()
=> {
// ...
};
which ESLint thinks is a syntax error. (It probably is; I don't know
enough about the automatic semicolon insertion rules to be confident.)
2020-11-24 20:06:12 +00:00
John McLear
f1e3aff72f
stale code: use terser instead of uglify
2020-06-07 20:09:10 +00:00
John McLear
512a51149d
Revert "Merge branch 'develop' of github.com:ether/etherpad-lite into develop"
...
This reverts commit 6fad0210f8 , reversing
changes made to 128f3e15eb .
2020-06-07 18:46:41 +00:00
John McLear
ea9a9cd883
Revert "Revert "stale: Terser instead of uglify ( #4075 )""
...
This reverts commit 423be7f081 .
2020-06-07 10:08:11 +00:00
John McLear
423be7f081
Revert "stale: Terser instead of uglify ( #4075 )"
...
This reverts commit 552b6d7adb .
2020-06-05 23:55:14 +00:00
John McLear
552b6d7adb
stale: Terser instead of uglify ( #4075 )
2020-06-05 23:10:24 +01:00
Chocobozzz
c854cced65
performance: Use worker threads to minify JS/CSS files ( #3823 )
2020-06-04 14:00:50 +01:00