feat(jaeger): migrate to rspack
This commit is contained in:
@@ -24,6 +24,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@grafana/plugin-configs": "workspace:*",
|
"@grafana/plugin-configs": "workspace:*",
|
||||||
|
"@rspack/cli": "^1.0.0",
|
||||||
"@testing-library/dom": "10.4.0",
|
"@testing-library/dom": "10.4.0",
|
||||||
"@testing-library/jest-dom": "6.6.3",
|
"@testing-library/jest-dom": "6.6.3",
|
||||||
"@testing-library/react": "16.2.0",
|
"@testing-library/react": "16.2.0",
|
||||||
@@ -44,9 +45,9 @@
|
|||||||
"@grafana/runtime": "*"
|
"@grafana/runtime": "*"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack -c ./webpack.config.ts --env production",
|
"build": "rspack -c ./rspack.config.ts --env production",
|
||||||
"build:commit": "webpack -c ./webpack.config.ts --env production --env commit=$(git rev-parse --short HEAD)",
|
"build:commit": "rspack -c ./rspack.config.ts --env production --env commit=$(git rev-parse --short HEAD)",
|
||||||
"dev": "webpack -w -c ./webpack.config.ts --env development"
|
"dev": "rspack -w -c ./rspack.config.ts --env development"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@4.6.0"
|
"packageManager": "yarn@4.6.0"
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -1,4 +1,4 @@
|
|||||||
import config from '@grafana/plugin-configs/webpack.config';
|
import config from '@grafana/plugin-configs/rspack.config';
|
||||||
|
|
||||||
const configWithFallback = async (env: Record<string, unknown>) => {
|
const configWithFallback = async (env: Record<string, unknown>) => {
|
||||||
const response = await config(env);
|
const response = await config(env);
|
||||||
@@ -11,4 +11,5 @@ const configWithFallback = async (env: Record<string, unknown>) => {
|
|||||||
return response;
|
return response;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// eslint-disable-next-line no-barrel-files/no-barrel-files
|
||||||
export default configWithFallback;
|
export default configWithFallback;
|
||||||
Reference in New Issue
Block a user