editor.js/vite.config.test.js
Peter 3d01be4a69
fix(types): tools export types added (#2802)
* 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
2024-08-09 18:04:57 +03:00

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'),
},
},
});