mirror of
https://github.com/codex-team/editor.js
synced 2026-03-14 14:45:47 +01:00
* fix types export * lint * changelog * tests fixed * fix tests imports * lint tests * upd submodule * Update yarn.lock * rename wrapper to factory * Update package.json * rename to adapters * Update tools.d.ts * BlockTool -> BlockToolAdapter etc * Update nested-list * Update collection.ts
18 lines
348 B
JavaScript
18 lines
348 B
JavaScript
import path from 'path';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
build: {
|
|
minify: false,
|
|
sourcemap: true,
|
|
},
|
|
define: {
|
|
'NODE_ENV': JSON.stringify('test'),
|
|
'VERSION': JSON.stringify('test-version'),
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@/types': path.resolve(__dirname, './types'),
|
|
},
|
|
},
|
|
});
|