Feature #1391

Prepare Static Assets

Added by Pavan Rikhi 12 months ago. Updated 19 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Pavan Rikhi% Done:

100%

Category:UISpent time:-
Target version:v1.00.00 - Deployment
Easy Pickings:

Description

Better bundle splitting? Let webpack handle pulling out the vendors files?

Extract the CSS into files. Optimize/minfiy styles, js, & elm code.

https://github.com/opvasger/elm-minify#nodejs-api

Associated revisions

Revision e99000cb
Added by Pavan Rikhi 19 days ago

[#1391] Extract & Optimiz CSS Files From Builds

Add the mini-cs-extract-plugin to pull out CSS files during client
builds instead of directly inserting styles with javascript.

Add the optimize-css-assets-webpack-plugin package to optimize the CSS
files.

Refs #1391

Revision a112871d
Added by Pavan Rikhi 19 days ago

[#1391] Let Webpack Properly Split Modules

Instead of splitting out JS libraries in a `vendor` entry point, combine
them into our normal entry points and tell webpack to split them. This
prevents webpack from including child-dependencies multiple times if
they are shared across entry points.

Closes #1391

History

#1 Updated by Pavan Rikhi 12 months ago

  • Target version changed from v0.6.0 - Checkout to v0.7.0 - Misc Pages & UI

#2 Updated by Pavan Rikhi 12 months ago

  • Category changed from General to UI

#3 Updated by Pavan Rikhi 5 months ago

  • Target version changed from v0.7.0 - Misc Pages & UI to v1.00.00 - Deployment

#4 Updated by Pavan Rikhi 19 days ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

Also available in: Atom PDF