Many-in-one AI client.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 regels
253 B

  1. const { wasmLoader } = require('esbuild-plugin-wasm');
  2. module.exports = {
  3. target: 'esnext',
  4. plugins: ({ isCJS }) => {
  5. if (isCJS) {
  6. return [
  7. wasmLoader({
  8. mode: 'deferred',
  9. }),
  10. ];
  11. }
  12. return [];
  13. },
  14. }