react-chrome-extension-boilerplate icon indicating copy to clipboard operation
react-chrome-extension-boilerplate copied to clipboard

Add bootstrap-loader problem

Open manhhailua opened this issue 7 years ago • 2 comments

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".

manhhailua avatar Jul 05 '16 10:07 manhhailua

For example, you can add it to todoapp entry:

  entry: {
    todoapp: [customPath, hotScript, 'bootstrap-loader', path.join(__dirname, '../chrome/extension/todoapp')],

jhen0409 avatar Jul 06 '16 17:07 jhen0409

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?

manhhailua avatar Jul 06 '16 18:07 manhhailua