Is it possible to load an additional entry using a different set of bootloaders?
For example, I'm trying to create a service for offline caching. I deleted the folder containing the service worker and included it in another. There are no calls for service-worker.js (it just loads manually in static index.html). The service worker's entry point collects React and hot loader instead of just going through Babel. Here are the main parts of my configuration.
entry: { app: "app.js", 'service-worker': 'persistence/service-worker.js' }, module: { loaders:[{ test: /\.js|\.jsx/, loaders: ["react-hot", "jsx?harmony", "babel"], exclude: /persistence/ }, { test: /service\-worker\.js/, loaders: ["babel"], include: /persistence/ }]
webpack
puppybits
source share