You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems GeneratePackageJsonPlugin is deriving the version from the node_modules (I have useInstalledVersions enabled), however I want to ensure that any externally hosted packages have their URLs included in the generated package.json.
Current output from plugin is:
{
"dependencies": {
"xlsx": "0.20.2"
}
}
But since 0.20.2 doesn't exist on npm, there are issues when installing.
I can't make out from documentation if this is already supported. I looked at existing config options like sourcePackageFilenames but I think that's for different usage than what I need.
The text was updated successfully, but these errors were encountered:
I have one package (
xlsx
) which has an old version on npm (18.5) however they have newer versions only available via their own CDN.In package.json I have the following:
It seems
GeneratePackageJsonPlugin
is deriving the version from thenode_modules
(I haveuseInstalledVersions
enabled), however I want to ensure that any externally hosted packages have their URLs included in the generated package.json.Current output from plugin is:
But since 0.20.2 doesn't exist on npm, there are issues when installing.
I can't make out from documentation if this is already supported. I looked at existing config options like
sourcePackageFilenames
but I think that's for different usage than what I need.The text was updated successfully, but these errors were encountered: