We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b99c0bc commit 04c2070Copy full SHA for 04c2070
2 files changed
packages/designer/package.json
@@ -1,6 +1,7 @@
1
{
2
"name": "@object-ui/designer",
3
"version": "0.1.0",
4
+ "type": "module",
5
"license": "MIT",
6
"description": "The Tool. A drag-and-drop visual editor to generate Object UI schemas.",
7
"main": "dist/index.js",
packages/designer/vitest.config.ts
@@ -1,9 +1,13 @@
import { defineConfig } from 'vitest/config';
import path from 'path';
+import { fileURLToPath } from 'url';
+
+const __filename = fileURLToPath(import.meta.url);
+const __dirname = path.dirname(__filename);
8
export default defineConfig({
9
test: {
- environment: 'jsdom',
10
+ environment: 'happy-dom',
11
exclude: ['**/node_modules/**', '**/dist/**'],
12
alias: {
13
'@object-ui/core': path.resolve(__dirname, '../core/src/index.ts'),
0 commit comments