Skip to content
Snippets Groups Projects
Commit a8fed4f2 authored by Leonardo Christino's avatar Leonardo Christino
Browse files

chore(tutorial): move global definition to window

parent 82c38072
No related branches found
Tags v1.28.0
No related merge requests found
Pipeline #127671 passed
......@@ -7,6 +7,7 @@ import App from './app/app';
import { createRoot } from 'react-dom/client';
import './styles.css';
(window as any).global = window;
const domNode = document.getElementById('root');
if (domNode) {
......
......@@ -23,7 +23,4 @@ export default defineConfig({
'@graphpolaris/config': path.resolve(__dirname, '../../libs/config/src'),
},
},
define: {
global: {},
},
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment