mirror of
https://github.com/aljazceru/nostr-relay-registry.git
synced 2025-12-17 06:04:24 +01:00
first version, reviving @rsbondi's work.
This commit is contained in:
21
webpack.config.js
Normal file
21
webpack.config.js
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user