feat(tempo): migrate to rspack
This commit is contained in:
@@ -40,6 +40,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@grafana/plugin-configs": "11.6.0-pre",
|
"@grafana/plugin-configs": "11.6.0-pre",
|
||||||
|
"@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",
|
||||||
@@ -55,17 +56,16 @@
|
|||||||
"glob": "11.0.1",
|
"glob": "11.0.1",
|
||||||
"react-select-event": "5.5.1",
|
"react-select-event": "5.5.1",
|
||||||
"ts-node": "10.9.2",
|
"ts-node": "10.9.2",
|
||||||
"typescript": "5.7.3",
|
"typescript": "5.7.3"
|
||||||
"webpack": "5.97.1"
|
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@grafana/runtime": "*"
|
"@grafana/runtime": "*"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "webpack -c ./webpack.config.ts --env production",
|
"build": "rspack -c ./rspack.config.ts --env production",
|
||||||
"build:stats": "yarn build --env stats --profile --json=compilation-stats.json",
|
"build:stats": "yarn build --env stats --profile --json=compilation-stats.json",
|
||||||
"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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
import config from '@grafana/plugin-configs/rspack.config';
|
||||||
|
|
||||||
|
// eslint-disable-next-line no-barrel-files/no-barrel-files
|
||||||
|
export default config;
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
import config from '@grafana/plugin-configs/webpack.config';
|
|
||||||
|
|
||||||
export default config;
|
|
||||||
Reference in New Issue
Block a user