Skip to content

Instantly share code, notes, and snippets.

@vivainio
Created March 25, 2019 19:37
Show Gist options
  • Save vivainio/fe7cb394aadffd42992e6d2ba5ce5d98 to your computer and use it in GitHub Desktop.
Save vivainio/fe7cb394aadffd42992e6d2ba5ce5d98 to your computer and use it in GitHub Desktop.
  • CJS needs to die. We should create single file esm bundles for libs, and only support those in the bundler
  • Webpack is too slow. We have 2 min+ prod builds at the moment.
  • TypeScript should be able to take flat esm files (libraries) and emit full app with just those. We have already sort of agreed what JS modules should look like and shouldn't need a separate linker anymore
    • Unless community has not agreed and the CJS shit show goes on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment