Can Webpack
pack files from remote sources?

Our concept of Webpack

- bundles static files from local file system

Can we make it bundle from a remote source?

  • import React from 'cdn/to/react'?
  • import bundles from a server?

year 2014 conclusion: it's not a Webpack job

the Webpack engine

  • compiler

  • compilation

  • resolver

  • module

  • loader

the Webpack engine

  • compiler
  • compilation
  • resolver
  • module
  • loader

enhanced resolve

is like a sub-engine that handles

module resolution

Made with Slides.com