first version, reviving @rsbondi's work.

This commit is contained in:
fiatjaf
2021-12-30 15:03:57 -03:00
commit ddb28f21b0
7 changed files with 163 additions and 0 deletions

21
webpack.config.js Normal file
View File

@@ -0,0 +1,21 @@
const path = require('path')
module.exports = {
mode: 'development',
entry: './main.js',
output: {
path: __dirname,
filename: 'out.js'
},
experiments: {asyncWebAssembly: true},
resolve: {
alias: {
stream: 'readable-stream'
},
fallback: {
buffer: 'buffer/index.js',
stream: 'readable-stream/readable.js',
crypto: false
}
}
}