Questions tagged [dllreferenceplugin]
9 questions
5
votes
1 answer
Webpack DllReferencePlugin is not working
I've got a problem with the DllReferencePlugin on one of my projects (I'm using Webpack 1.13.2). In particular, I have 3 pairs of manifests and bundle files generated by DllPlugin and in my plugins section for the main bundle I have 3…

Voice
- 1,547
- 16
- 31
3
votes
1 answer
selecting webpack dll bundle via scope mode
In the webpack examples, in particular
https://github.com/webpack/webpack/tree/master/examples/dll
https://github.com/webpack/webpack/tree/master/examples/dll-user
We can create a bundle that depends on already pre-bundled libraries.
The examples…

jmlopez
- 4,853
- 4
- 40
- 74
2
votes
0 answers
Webpack dll reference plugin giving run time error
I am using webpack DllReference plugin to refer my node_modules and polyfills from my webpack.config so that I don't have to compile them everytime I build my project. The plugin is compiling correctly and creating js and Json files as it should but…

Aayushi Jain
- 2,861
- 2
- 29
- 36
1
vote
0 answers
Is there a way to expose module globally from Webpack DllPlugin vendor bundle?
Using Webpack 4, I'm creating a bundle and a vendors bundle. Vendor bundle contains jQuery and the code bundle references jquery using 'import * from jquery'. This works perfectly.
However, I now need to use a 3rd party (already minified)…

CahPhoenix
- 11
- 2
1
vote
1 answer
ASP.NET Core + Webpack - Uncaught ReferenceError: vendor is not defined when using DllReferencePlugin
Rendering on the client is absolutely fine, but as soon as I enable SSR I receive the following error: NodeInvocationException: vendor_19f7ef894c06af9bbdef is not defined.
I've put together a sample application which displays this issue for me, it…

Stu Ratcliffe
- 269
- 3
- 14
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
Chrome Extension: Resource not available even adding it in web_accessible_resources
I'm developing a Chrome Extension using React/Redux.
For that, I'm using Webpack and now I'm migrating some resources to a separated file using the WebPack DLLReference plugin to optimize the build process.
Then I need to load the generated…

dfranca
- 5,156
- 2
- 32
- 60