70312[WIP][TASK] Migrate towards webpack
Commit message
Review
-
Code review CR 0
-
Verified V 0
Files 52
- Build/Sources/Sass/_minimal.scss+34 −33
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Element/IconElement.ts+2 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Element/SpinnerElement.ts+2 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Element/TableWizardElement.ts+2 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/Container/FlexFormContainerContainer.ts+3 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/Element/Modifier/Resizable.ts+1 −0
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/Element/Modifier/Tabbable.ts+1 −0
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/Element/InputDateTimeElement.ts+1 −0
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/Element/SelectTree.ts+1 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/Element/SelectTreeToolbar.ts+1 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/RequestUpdate.ts+2 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Module/Iframe.ts+3 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Module/Router.ts+3 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/PageTree/PageTreeElement.ts+3 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Toolbar/SystemInformationMenu.ts+1 −0
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Tree/FileStorageBrowser.ts+2 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Tree/FileStorageTreeContainer.ts+2 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Tree/PageBrowser.ts2+3 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Viewport/NavigationContainer.ts+1 −0
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Viewport/ResizableNavigation.ts+3 −1
Show 32 more files
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/ColumnSelectorButton.ts+2 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/ContextMenu.ts+1 −0
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/CopyToClipboard.ts+2 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/DateTimePicker.ts+2 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/DragUploader.ts+1 −0
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/LoginRefresh.ts+1 −0
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Notification.ts+3 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/PageActions.ts+1 −0
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Popover.ts+1 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/SvgTree.ts+3 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/SwitchUser.ts+2 −1
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Tooltip.ts+1 −0
- Build/Sources/TypeScript/core/Resources/Public/TypeScript/Authentication/MfaProvider/Totp.ts+7 −2
- Build/Sources/TypeScript/core/Resources/Public/TypeScript/Event/DebounceEvent.ts+2 −0
- Build/Sources/TypeScript/core/Resources/Public/TypeScript/lit-helper.ts+1 −1
- Build/Sources/TypeScript/dashboard/Resources/Public/TypeScript/WidgetRefresh.ts+4 −2
- Build/Sources/TypeScript/extensionmanager/Resources/Public/TypeScript/Main.ts+1 −1
- Build/Sources/TypeScript/extensionmanager/Resources/Public/TypeScript/Repository.ts+1 −1
- Build/Sources/TypeScript/install/Resources/Public/TypeScript/Module/Settings/SystemMaintainer.ts+1 −0
- Build/Sources/TypeScript/install/Resources/Public/TypeScript/Module/Upgrade/UpgradeDocs.ts+1 −0
- Build/Sources/TypeScript/install/Resources/Public/TypeScript/Router.ts+2 −0
- Build/Sources/TypeScript/recordlist/Resources/Public/TypeScript/RecordDownloadButton.ts+2 −1
- Build/Sources/TypeScript/rte_ckeditor/Resources/Public/TypeScript/RteLinkBrowser.ts+2 −2
- Build/Sources/TypeScript/scheduler/Resources/Public/TypeScript/Scheduler.ts+1 −1
- Build/Sources/TypeScript/t3editor/Resources/Public/TypeScript/Element/CodeMirrorElement.ts+9 −3
- Build/Sources/TypeScript/viewpage/Resources/Public/TypeScript/Main.ts+1 −1
- Build/types/Input/index.d.tsrenamed+0 −0
- Build/types/TYPO3/index.d.ts+1 −0
- Build/package.json+23 −2
- Build/tsconfig.json+12 −1
- Build/webpack.config.js2new+146 −0
- Build/yarn.lock+1724 −19
Review log 1114
-
Jochen Roth uploaded patch set 1 08/09/21, 16:40
-
Mathias Brodala commented on patch set 1 08/09/21, 16:42
I know this is early WIP (you can officially mark changes as WIP in Gerrit BTW) but have you considered Symfony Encore as abstraction on top of Webpack? This could make the Webpack configuration easier to read. See https://symfony.com/doc/current/frontend/encore/installation.html#installing-encore-in-non-symfony-applications And https://symfony.com/doc/current/frontend/encore/installation.html#creating-the-webpack-config-js-file -
Jochen Roth marked it work in progress 08/09/21, 16:48
-
Jochen Roth commented on patch set 1 08/09/21, 16:48
Reply
I'll have a look, thanks :-) -
core-ci voted on patch set 1 V -1 08/09/21, 17:34 Core CI is not happy: https://gitlab.typo3.org/typo3/CI/cms/-/pipelines/14347
-
Benni Mack wrote 11/29/21, 10:10
Change destination moved from master to main -
Benni Mack updated the commit message in patch set 2 11/29/21, 11:56
-
core-ci voted on patch set 2 V -1 11/29/21, 12:14 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/19976
-
Benjamin Franzke commented on patch set 2 12/08/21, 21:46
PageBrowser.ts:15Hey Jochen, what was the reason to import from the separate modules instead of the umbrella module 'lit/decorators'? Was there any technical limitation to keep using 'lit/decorators'? -
Benjamin Franzke uploaded patch set 3 12/08/21, 22:14
Rebase -
Benjamin Franzke commented on patch set 3 12/08/21, 22:18
webpack.config.js:33Is there a possibility to to only emit the module of the entry file, not a bundle containing all the dependencies of each module? (maybe via a loader?) (someting like preserveModules for rollup) -
core-ci voted on patch set 3 V -1 12/08/21, 22:29 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/20823
-
Jochen Roth commented on patch set 3 12/09/21, 09:56
PageBrowser.ts:15Reply UnresolvedHey Benjamin, iirc webpack had issues importing it. If 'lit/decorators' works as well now i'm happy to use that. :-)webpack.config.js:33Reply UnresolvedYes, this is my issue. Currently each file is bundled with all it's dependencies which then causes things to break. Well, it's possible to split the modules but that seemed to cause a lot of issues especially with requireJS. preserveModules for rollup sounds interesting, will look that up if i have the time. -
Jochen Roth abandoned the change 07/06/23, 11:35
Not going happen