mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-04-01 15:01:03 +00:00
34 lines
835 B
JavaScript
34 lines
835 B
JavaScript
// @ts-check
|
|
|
|
// If won't use `@ts-check` - just remove that comments (with `@type` JSDoc below).
|
|
|
|
/** @type import('dts-bundle-generator/config-schema').OutputOptions */
|
|
const commonOutputParams = {
|
|
inlineDeclareGlobals: false,
|
|
sortNodes: true,
|
|
};
|
|
|
|
/** @type import('dts-bundle-generator/config-schema').BundlerConfig */
|
|
const config = {
|
|
compilationOptions: {
|
|
preferredConfigPath: './tsconfig.json',
|
|
},
|
|
|
|
entries: [
|
|
{
|
|
filePath: './src/index.ts',
|
|
outFile: './dist/index.d.ts',
|
|
noCheck: false,
|
|
|
|
libraries: {
|
|
importedLibraries: ['node', '@types/node'],
|
|
inlinedLibraries: ['@fluencelabs/avm', '@fluencelabs/marine-js'],
|
|
},
|
|
|
|
output: commonOutputParams,
|
|
},
|
|
],
|
|
};
|
|
|
|
module.exports = config;
|