mirror of
https://github.com/maputnik/editor.git
synced 2026-07-04 13:07:26 +00:00
Fix tests, types, added data-wd-key
This commit is contained in:
+12
-1
@@ -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",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user