bootstrap-loader
bootstrap-loader copied to clipboard
webpack3 + ModuleConcatenationPlugin breaks styles
Upgrading to [email protected] itself only made no changes, but including the new ModuleConcatenationPlugin to enable Scope Hoisting resulted in styles not being loaded.
@unsafecode can you help us troubleshoot this and create a PR to address the support for Webpack 3.0?
Is there any word on when Webpack3 will be supported? I'm running Webpack 3.3.0 and installed everything for Bootstrap 4 and am trying to do just a simple require('bootstrap-loader') and it shot me an initial error that I needed to get bootstrap-sass so I did and now I am getting this:
RROR in ./node_modules/bootstrap-sass/assets/fonts/bootstrap/glyphicons-halflings-regular.woff Module parse failed: C:\Users\React\Dev-Production\node_modules\bootstrap-sass\assets\fonts\bootstrap\glyphicons-halflings -regular.woff Unexpected character ' ' (1:4) You may need an appropriate loader to handle this file type. (Source code omitted for this binary file)
Can you guys provide any info on this?
@vegas3416 I'm backed up right now with other priorities. Can you help us with this? I'd love to get a PR merged and going for this! Let me know if you want a Slack invite to our ShakaCode room.
@justin808 have to find some time for that. Hopefully next week.
Don't worry about it. I ended up just importing the bootstrap into the html instead of using the bootstrap loader to do it. Besides I'm using Webpack 3 and Bootstrap 4 and the documentation that is out there so far doesn't seem to touch on the latest stuff just yet which is understandable since is pretty new.
I'm fairly new to Webpack and more so using it with React otherwise I'd tackle the Webpack stuff more but I just don't have time either as I'm having to learning React for a work project and just need to get the project moving forwards
On Sat, Jul 22, 2017 at 3:51 PM, unsafecode [email protected] wrote:
@justin808 https://github.com/justin808 have to find some time for that. Hopefully next week.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shakacode/bootstrap-loader/issues/308#issuecomment-317209640, or mute the thread https://github.com/notifications/unsubscribe-auth/AYIn0-vJBOAvSpg0fL5E24HqzJf9oY4sks5sQmDggaJpZM4OKmwg .
Im using webpack 3.5.4 and setting up the font loader like this:
{
test: /\.(ttf|otf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/,
loader: 'file-loader?name=fonts/[name].[ext]'
},
resolved the same issue