Fix tests, types, added data-wd-key

This commit is contained in:
HarelM
2023-12-19 23:44:35 +02:00
parent 84adbe6eb2
commit 3ba3a20848
14 changed files with 1124 additions and 1313 deletions
+12 -1
View File
@@ -1,11 +1,22 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import replace from '@rollup/plugin-replace';
export default defineConfig({
server: {
port: 8888
},
plugins: [react()],
plugins: [
replace({
preventAssignment: true,
include: /\/jsonlint-lines-primitives\/lib\/jsonlint.js/,
delimiters: ['', ''],
values: {
'_token_stack:': ''
}
}) as any,
react()
],
define: {
global: "window",
},