Enhancements: Media File Support, Asset Parsing, and Webpack 5 Integration for Production Environment.#58
Enhancements: Media File Support, Asset Parsing, and Webpack 5 Integration for Production Environment.#58smitjiwani wants to merge 15 commits intoRocketChat:mainfrom
Conversation
…sourse or asset/inline. Added MiniCssExtractPlugin.
|
hey @smitjiwani this is the webpack file we use for bundling |
|
Okay @CulturalProfessor should I add the enhancements to |
…sourse or asset/inline. Added MiniCssExtractPlugin. v2
yes to try if they work add changes there and run build commands |
|
Yes, I have done that in |
|
see if the font issue is not due to webpack not including it also #26 |
|
These two resources might help us solve the font problem. Just keeping them here so that i don't forget... https://webpack.js.org/configuration/output/#outputassetmodulefilename |
…he could be kept as asset resource and should be imported as the same, need to read upm more of the documentation(commit for my reference0
…ere in the bundles with a graph
Changes introduced
I have incorporated support for
.png,.jpg, and other media file types to enhance asset management and integration within the project. Additionally, a parser has been implemented for asset/resource and asset/inline, streamlining the handling and embedding of assets and resources directly within the application. Furthermore, I have integrated theMiniCssExtractPlugininto the Webpack 5 configuration. This integration facilitates efficient CSS extraction during the bundling process, optimizing the performance and load times of our web assets.Dependencies