1.2.2 • Published 8 months ago

@sparklapse/dots-react v1.2.2

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

dots-react

The react glue for using dots.

Known issues

Next/Webpack

https://github.com/vercel/next.js/issues/44273

The following was required in next.config.js to prevent import errors:

webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
  config.externals.push({
    "utf-8-validate": "commonjs utf-8-validate",
    bufferutil: "commonjs bufferutil",
    encoding: "commonjs encoding",
  });
  return config;
},

If you're using dots-rp you will also need to add the following to allow wasm to be loaded:

webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
  config.experiments = {
    ...config.experiments,
    topLevelAwait: true,
    asyncWebAssembly: true,
  };
  return config;
},
1.2.2

8 months ago

1.2.1

9 months ago

1.2.0

9 months ago

1.1.1

9 months ago

1.1.0

9 months ago

1.0.0

9 months ago