leerob / youtube-to-mp3

⚡️Electron application to convert and download YouTube videos as MP3s
https://electronjs.org/apps/youtube-to-mp3
MIT License
540 stars 132 forks source link

Webpack workflow and Bitrate setting #8

Closed IT-MikeS closed 6 years ago

IT-MikeS commented 6 years ago

New PR for the webpack workflow and bitrate menu settings

leerob commented 6 years ago

Works for me!

On Dec 18, 2017, 2:21 PM -0600, Mike S notifications@github.com, wrote:

@IT-MikeS commented on this pull request. In webpack.config.js:

@@ -0,0 +1,32 @@ +const path = require('path'); +let HtmlWebpackPlugin = require('html-webpack-plugin'); + +module.exports = {

  • entry: './src/app.jsx',
  • watch: true,
  • output: {
  • path: path.resolve('app'),
  • filename: 'bundle.js' Using the npm script in the package.json is all they need to build and have webpack watch changes. I don't think we need more explanation because anyone doing more than that should have webpack knowledge. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
IT-MikeS commented 6 years ago

Update: