react-chrome-extension-boilerplate
react-chrome-extension-boilerplate copied to clipboard
Add bootstrap-loader problem
I'm trying to add bootstrap to my chrome extension but I don't know how to integrate the "entry" of bootstrap loader to existent "entry" at "webpack/dev.config.js" and "webpack/prod.config.js".
For example, you can add it to todoapp entry:
entry: {
todoapp: [customPath, hotScript, 'bootstrap-loader', path.join(__dirname, '../chrome/extension/todoapp')],
I'm using:
import 'expose?$!expose?jQuery!jquery';
import 'bootstrap-loader';
at /app/containers/Root.js
and everything is working nicely. Do this way make any differences?