DllReferencePlugin purpose in aspnet core spa app? #1600

Closed
opened 2025-08-09 17:20:51 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @asadsahi on 5/25/2016

No idea why this plugin is used in aspnetcore-spa apps inside webpack.config.js. Webpack documentation doesn't help either. Do we have to use this? what is manifest.json file? do we have to run the command (webpack --config config/webpack.config.vendor.js) to create it before running the asp.net core app?

new webpack.DllReferencePlugin({
            context: __dirname,
            manifest: require('../wwwroot/dist/vendor-manifest.json')
        })
*Originally created by @asadsahi on 5/25/2016* No idea why this plugin is used in aspnetcore-spa apps inside webpack.config.js. Webpack [documentation](https://github.com/webpack/docs/wiki/list-of-plugins) doesn't help either. Do we have to use this? what is manifest.json file? do we have to run the command (`webpack --config config/webpack.config.vendor.js`) to create it before running the asp.net core app? ``` new webpack.DllReferencePlugin({ context: __dirname, manifest: require('../wwwroot/dist/vendor-manifest.json') }) ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1600
No description provided.