mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-21 15:01:55 +00:00
7d5ed49d23
* 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"
|
|
})
|
|
); |