Skip to content

Instantly share code, notes, and snippets.

@tgrecojs
Created March 12, 2018 01:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tgrecojs/dba29da7dc315d45d939f652dbe948ab to your computer and use it in GitHub Desktop.
Save tgrecojs/dba29da7dc315d45d939f652dbe948ab to your computer and use it in GitHub Desktop.
const DynamicFoo =
dynamic(import('../Posts.tipe').then(response => {
// post2 is alias
const { post2 } = response;
// Foo.__webpackChunkName = m.__webpackChunkName;
return response
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment