Questions tagged [dllplugin]

23 questions
1
vote
1 answer

Exposing excluded (externals) dependencies to Dll builds with Webpack

I have a webpack build process where the DllPlugin is used to pre-build a list of packages. This allows developers to target specific packages they are actively developing and helps speed up the rebuild process. How can I configure webpack to…
chautelly
  • 447
  • 3
  • 14
1
vote
0 answers

Hot Module Replacement cannot find dll reference

I use DllPlugin and DllReferencePlugin in our project, everything works fine with the first build. It means DLL works well. But when it comes to HMR, the generated hot-update.js is filled with: var e = new Error(\"Cannot find module…
1
vote
1 answer

How does Dll Plugin work with Webpack2?

I'm updating our app to webpack2, and with webpack1, we used the Dll plugin, but I'm not sure if the plugin is still necessary with webpack2, or if any changes need to be made. To clarify, we were defining the DllPlugin in the webpack-vendor config…
borisonr
  • 11
  • 1
  • 4
1
vote
1 answer

Create shared library with Webpack's DllPlugin

I want to create a core NPM package that contains all dependencies which rarely change, e.g. Angular. Since different projects will use this NPM package and Webpack is the preferred bundling and build tool, I thought Webpack's DLL plugin would be a…
Mato
  • 830
  • 2
  • 9
  • 21
1
vote
1 answer

Grunt, Webpack, and the DllPlugin

I'm having trouble visualizing how I can leverage the DllPlugin/DllReferencePlugin with Webpack while also using Grunt for the building. For those without knowledge, the DllPlugin creates a separate bundle that can be shared with other bundles. It…
anson
  • 4,156
  • 2
  • 22
  • 30
0
votes
1 answer

Using webpack DllPlugin with bootstrap 4 beta causes Uncaught ReferenceError

I am using DllPlugin for my dev environment, however when I add bootstrap to the build my vendor dll breaks. If I comment out bootstrap all other references are working. Here is the relevant part of my config files. For the vendor build entry:…
0
votes
1 answer

How to correctly set the context for webpack DLLPlugin

I have a project where my code is is app directory. Both /app and /node_modules are in the same directory. In my webpack config, both the context and and the root resolve are set to the app directory. In my .jsx files, regardless of which folder…
oshkosh
  • 551
  • 7
  • 14
0
votes
2 answers

Is there any "publicPath" option or similar in Webpack DllPlugin?

I'm using mxstbr/react-boilerplate that uses the great DllPlugin, but as the application is served by nginx under /admin, it fails with an 404 when trying to get the reactBoilerplateDeps.dll.js file from the root url (it hits…
1
2