reactjs - Webpack compile file to S3 or CDN Server -


i'm working on react project javascript universal (express.js server) in production build, i'm using webpack , babel bundling , transpiler.

everything work fine,

however, i'm thinking that, bundles static javascript, styles , html.

can upload amazon s3 , link cloudfront , make these files available on cdn?

i try googling searching webpack , cdn didn't find useful information.

or did misunderstand something? work think? , can automate using webpack cli ?

please advise,

webpack concerned building (and bundling) of assets. them/where host them you, , might want kind of ci process/tool manage automated deployments you, once bundles built. webpack doesn't (afaik) handle deployment.


Comments