Skip to content

Instantly share code, notes, and snippets.

@romanonthego
Created July 2, 2017 03:24
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 romanonthego/c371a301e953ee9ed807f93c8dfdf859 to your computer and use it in GitHub Desktop.
Save romanonthego/c371a301e953ee9ed807f93c8dfdf859 to your computer and use it in GitHub Desktop.
// browser webpack-config
resolve: {
alias: {
'firebaseImport$': path.join('path', 'to', 'your', 'firebaseImport.browser.js')
}
}
// ...
// server webpack-config
resolve: {
alias: {
'firebaseImport$': path.join('path', 'to', 'your', 'firebaseImport.server.js')
}
}
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment