I am working on using Zurb Foundation with WebPack and NPM, without Bower.
The problem I am encountering is the same as this below:
https://github.c
Just use the script-loader (npm i script-loader) and prefix your imports with a script!.
Then it will be evaluated in the global scope.
To load all js files from foundation use this
import 'script!jquery'
import 'script!what-input'
import 'script!foundation-sites'
Like I do it in my entry point
You can check out my boilerplate project to try it out: https://github.com/timaschew/r3-foundation-boilerplate