shakacode / bootstrap-loader

Load Bootstrap styles and scripts in your Webpack bundle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I add bootstrap-loader to the webpack object entry point

abepark01 opened this issue · comments

commented

Hello!

The documentation uses an array when adding bootstrap-loader to the entry point, but how would I do the same when using an object for the entry point?

entry: [ 'bootstrap-loader', './app' ]
entry: { 
  /* how do I add bootstrap-loader here? */
}

@abepark01 I think the array is like

entry: {
  someName: [ 'a', 'b']
}

so the plain array is just the default name.

commented

@justin808 Thank you! 🤙