mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-11 14:53:49 +00:00
7ee09286ef
* feat: replace @codemirror to text field * feat: switch to Preact from React * fix: optimize mui imports * fix: remove unused vars * update package-lock.json * app/vmselect/vmui: `make vmui-update` Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
13 lines
No EOL
517 B
JavaScript
13 lines
No EOL
517 B
JavaScript
// eslint-disable-next-line @typescript-eslint/no-var-requires,no-undef
|
|
const {override, addExternalBabelPlugin, addWebpackAlias} = require("customize-cra");
|
|
|
|
// eslint-disable-next-line no-undef
|
|
module.exports = override(
|
|
addExternalBabelPlugin("@babel/plugin-proposal-nullish-coalescing-operator"),
|
|
addWebpackAlias({
|
|
"react": "preact/compat",
|
|
"react-dom/test-utils": "preact/test-utils",
|
|
"react-dom": "preact/compat", // Must be below test-utils
|
|
"react/jsx-runtime": "preact/jsx-runtime"
|
|
})
|
|
); |