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