oxmpl-js 0.6.0

JavaScript/WASM Bindings for the OxMPL Library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { defineConfig } from 'vite';
import topLevelAwait from 'vite-plugin-top-level-await';
import wasm from 'vite-plugin-wasm';

export default defineConfig({
  plugins: [wasm(), topLevelAwait()],
  optimizeDeps: {
    exclude: ['oxmpl'],
  },
  build: {
    target: 'esnext',
  },
  test: {
    environment: 'node',
    testTimeout: 10000, // 10 seconds for motion planning tests
    hookTimeout: 10000,
  },
});