violet-paginator
Version:
Display, paginate, sort, filter, and update items from the server. violet-paginator is a complete list management library for react/redux applications.
36 lines (31 loc) • 684 B
JavaScript
var path = require('path')
var webpack = require('webpack')
var BrowserSyncPlugin = require('browser-sync-webpack-plugin')
module.exports = {
entry: './index.js',
output: { path: __dirname, filename: 'bundle.js' },
devtool: "eval-source-map",
resolve: {
extensions: ['', '.js', '.jsx']
},
module: {
loaders: [{
test: /.jsx?$/,
loader: 'babel-loader',
exclude: /node_modules/
}, {
test: /\.scss$/,
loaders: ["style", "css", "sass"]
}]
},
devServer: {
historyApiFallback: true
},
plugins: [
new BrowserSyncPlugin({
host: 'localhost',
port: 3000,
proxy: 'http://localhost:8080/'
}
)]
}