I ran into the same issue and it evidently doesn't matter that you import jquery first , bootstrap will always be pulled in at the top of the compiled file. My solution was to compile without jquery then use mix.scripts, like
mix.scripts([
"jquery.js",
"app.js"
]);
to make sure jquery is included before bootstrap.
Hope that helps.