UNPKG

react-music-player

Version:
28 lines (21 loc) 615 B
/* eslint-disable no-var */ var path = require('path'); module.exports = { entry: path.join(__dirname, '../example/example.js'), output: { path: path.join(__dirname, '../example/build'), filename: 'bundle.js', }, module: { loaders: [ { test: /\.js$/, exclude: /node_modules/, loader: 'babel' }, { test: /\.scss$/, loaders: ['style', 'css', 'sass'] } ], }, devtool: 'source-map', devServer: { contentBase: path.join(__dirname, '../example/'), publicPath: '/build/', historyApiFallback: true, }, };