mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-04-24 23:32:30 +00:00
22 lines
380 B
JavaScript
22 lines
380 B
JavaScript
const path = require('path')
|
|
const esbuild = {
|
|
inject: [path.join(__dirname, 'test/fixtures/node-globals.js')]
|
|
}
|
|
module.exports = {
|
|
tsRepo: true,
|
|
docs: {
|
|
entryPoint: "src/index.ts"
|
|
},
|
|
test: {
|
|
browser :{
|
|
config: {
|
|
buildConfig: esbuild
|
|
}
|
|
}
|
|
},
|
|
build: {
|
|
bundlesizeMax: '228KB',
|
|
config: esbuild
|
|
}
|
|
}
|