You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be great if we could import WebAssembly files in Airtable Apps by default.
Currently, there's no way of overwriting the Webpack config that the block CLI uses, and WebAssembly imports need to be enabled by setting the asyncWebAssembly and syncWebAssembly experimental flags to true (see here https://webpack.js.org/configuration/experiments/). One could build a custom bundler, but that is currently a lot of work and mostly doesn't work.
The changes to do this are minimal, probably just need to add the lines
It'd be great if we could import WebAssembly files in Airtable Apps by default.
Currently, there's no way of overwriting the Webpack config that the
block
CLI uses, and WebAssembly imports need to be enabled by setting theasyncWebAssembly
andsyncWebAssembly
experimental flags to true (see here https://webpack.js.org/configuration/experiments/). One could build a custom bundler, but that is currently a lot of work and mostly doesn't work.The changes to do this are minimal, probably just need to add the lines
to the
createWebpackCompilerConfig
function in this file: https://github.com/Airtable/blocks/blob/master/packages/cli-next/src/bundler/webpack_config.ts. I can put up a pull request, but my guess is that this needs to be looked over carefully by and Airtable engineer anyway...P.S.: The use case I have is running a high-speed cohort-matching algorithm for a large-scale cohort-based virtual program.
The text was updated successfully, but these errors were encountered: