Adding custom npm package to webpack.config.vendor.js doesn't work #1085

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

Originally created by @Vx2gas on 1/26/2017

Hello,

I'm trying to integrate a 3rd party angular components, and they have a npm package they ship.
Following their instructions, I have the following in the package.json:
"wijmo": "../3rdParty/wijmo/wijmo-system-min"

This will then create a wijmo folder inside of the node_modules.
Then I further go into webpack.config.vendor.js, and add the following to the vendor section:
var sharedConfig = { entry: { vendor: [ 'wijmo' ] }, }

When I do that and run:
webpack --config webpack.config.vendor.js

I get the following error:
ERROR in dll vendor Module not found: Error: Cannot resolve module 'wijmo' in

What am I doing wrong? Any help would be greatly appreciated.

Thanks!

*Originally created by @Vx2gas on 1/26/2017* Hello, I'm trying to integrate a 3rd party angular components, and they have a npm package they ship. Following their instructions, I have the following in the package.json: `"wijmo": "../3rdParty/wijmo/wijmo-system-min"` This will then create a wijmo folder inside of the node_modules. Then I further go into webpack.config.vendor.js, and add the following to the vendor section: `var sharedConfig = { entry: { vendor: [ 'wijmo' ] }, } ` When I do that and run: `webpack --config webpack.config.vendor.js` I get the following error: `ERROR in dll vendor Module not found: Error: Cannot resolve module 'wijmo' in` What am I doing wrong? Any help would be greatly appreciated. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1085
No description provided.