UNPKG

@bigear/microphone-recorder

Version:

It is a lib for sound recording on HTML, implemented by audioContext and webWorker

19 lines (17 loc) 432 B
const path = require('path') // const BundleAnalyzerPlugin = require('webpack-bundle-analyzer') // .BundleAnalyzerPlugin module.exports = { context: __dirname, entry: ['./src/index.js'], target: 'node', // exclude modules like path, fs, etc. output: { path: path.resolve(__dirname, 'dist'), libraryTarget: 'umd', }, plugins: [ // new BundleAnalyzerPlugin({ // analyzerMode: 'static' // }) ] }