Skip to content

Commit

Permalink
CONSOLE-3905: (dynamic-plugin-sdk) share webpack resolution with main…
Browse files Browse the repository at this point in the history
… repo
  • Loading branch information
logonoff committed Dec 5, 2024
1 parent f84c21c commit 0f7beeb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
3 changes: 1 addition & 2 deletions frontend/packages/console-dynamic-plugin-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"ejs": "3.x",
"fs-extra": "9.x",
"ts-json-schema-generator": "0.98.0",
"tsutils": "3.21.0",
"webpack": "^5.75.0"
"tsutils": "3.21.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,10 @@ export const getWebpackPackage: GetPackageDefinition = (
main: 'lib/lib-webpack.js',
...commonManifestFields,
dependencies: {
...parseDeps(
sdkPackage,
['@openshift/dynamic-plugin-sdk-webpack', 'webpack'],
missingDepCallback,
),
...parseDeps(sdkPackage, ['@openshift/dynamic-plugin-sdk-webpack'], missingDepCallback),
...parseDeps(
rootPackage,
['ajv', 'chalk', 'comment-json', 'find-up', 'glob', 'read-pkg', 'semver'],
['ajv', 'chalk', 'comment-json', 'find-up', 'glob', 'read-pkg', 'semver', 'webpack'],
missingDepCallback,
),
...parseDepsAs(rootPackage, { 'lodash-es': 'lodash' }, missingDepCallback),
Expand Down

0 comments on commit 0f7beeb

Please sign in to comment.