You can use newer features if they haven't yet shown up in Node e.g. import syntax.
You can share modules between backend and frontend as they'll be using the same export syntax.
Regarding 2), we may want to consider shuffling the folders around a little. And perhaps some sort of global import shortcut ('../../../../../xxx/xxx' is not a nice pattern to see everywhere).
Backpack may be a PITA for now: Backpack handles file-watching and reloading in a way that will make things like webpack-hot-middleware annoying to work with.
This provides two benefits.
You can use newer features if they haven't yet shown up in Node e.g.
import
syntax.You can share modules between backend and frontend as they'll be using the same export syntax.
Regarding 2), we may want to consider shuffling the folders around a little. And perhaps some sort of global import shortcut ('../../../../../xxx/xxx' is not a nice pattern to see everywhere).
Check out backpack.