yt-mp3-converter
Version:
YouTube to MP3 converter and Dwonload
23 lines (21 loc) • 523 B
JavaScript
const path = require('path');
module.exports = {
entry: './index.js', // Entry point at the root level
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist'),
},
resolve: {
extensions: ['.ts', '.tsx', '.js'], // Resolve TypeScript and JavaScript files
},
module: {
rules: [
{
test: /\.tsx?$/, // Process .ts and .tsx files
use: 'ts-loader',
exclude: /node_modules/,
},
],
},
// Other configuration options...
};