Commit Graph

20 Commits

Author SHA1 Message Date
Ralf Becker
59ac3f4bda always name generated file app.min.js so client-side can load it without knowing source is .ts or .js
--> fixes client-side initiated load errors
2021-07-19 08:31:06 +02:00
Ralf Becker
2f155e0d79 fix popups of apps without app.ts/js wont work as eT2 is not available
it get's included by the app.ts/js otherwise
2021-07-13 21:02:08 +02:00
Ralf Becker
812d0d91c0 using sync versions to work with nodejs 12.x
nothing to gain from the async/promises version
2021-07-13 08:30:51 +02:00
Ralf Becker
23dcf58137 remove not needed egw_dragdrop_dhtmlx_tree endpoint 2021-07-10 07:40:56 +02:00
Guy Bedford
a85335beaf build: fix node_modules resolution 2021-07-10 07:23:46 +02:00
Ralf Becker
d11cb4bb7e Adding carbon lit components tutorial
https://github.com/carbon-design-system/carbon-web-components#basic-usage
Thought Rollup gives following Babel error:
Error: Could not load /Volumes/htdocs/egw-test/node_modules/carbon-web-components/es/components/dropdown/@babel/runtime/helpers/esm/decorate.js (imported by node_modules/carbon-web-components/es/components/dropdown/dropdown-item.js): ENOENT: no such file or directory, open '/Volumes/htdocs/egw-test/node_modules/carbon-web-components/es/components/dropdown/@babel/runtime/helpers/esm/decorate.js'
2021-07-09 20:16:24 +02:00
Ralf Becker
e8da7caa64 fix after rollup build popups need extra reload
caused by no longer necessary import of etemplate2 in egw.js, as Promise works and etemplate2 is global
2021-07-07 10:32:06 +02:00
Guy Bedford
e742cce89e enable terser source maps 2021-07-05 17:35:44 +02:00
Ralf Becker
dd020f6f4c using warning.toString() instead of warning message, giving eg. the file using this, while circular dependencies are displayed the same 2021-07-04 09:54:44 +02:00
Ralf Becker
96dff06453 change rollup.config.js to scan for all installed apps, and run rollup as part of install-cli.php automatic 2021-07-02 15:24:12 +02:00
Ralf Becker
569d95f4b5 remove invalid import and add smallPART app.ts to rollup.config.js 2021-07-02 09:05:30 +02:00
Ralf Becker
8133547729 use app.js (without min) 2021-07-01 17:54:23 +02:00
nathangray
2a02ce0b46 Get news_admin working with rollup 2021-06-30 15:35:17 -06:00
nathangray
154946f39e Get news_admin loading with rollup 2021-06-30 14:21:58 -06:00
nathangray
708e09a337 Get import/export working 2021-06-30 14:09:12 -06:00
nathangray
56e8d6aeff Preferences app working with rollup 2021-06-30 13:30:27 -06:00
nathangray
935e46c7e8 Get Kanban working with rollup, removed the js files 2021-06-30 11:34:33 -06:00
Ralf Becker
d7cd90ebe7 fix skipping timestamps, but preferring .min.js over .js
added more apps to rollup.config.js (ones givening errors are commented out)
2021-06-29 15:21:19 +02:00
nathangray
3add958afa The results of Guy Bedford's help
Egroupware will load into addressbook & show rows
Most base files should be bundled server-side & included
rollup.config.js controls the process

Still needs work:
- consider /dist directory for best-practice
- cleanup
- other built-in apps
- EPL / external apps need Guy's multi-stage work
2021-06-25 14:49:24 -06:00
nathangray
e822511be4 An initial rollup config 2021-06-23 16:29:53 -06:00