UNPKG

material-ui-banner

Version:

A material-ui component that allows you to add a banner underneath the app bar.

30 lines (28 loc) 798 B
const webpack = require('webpack'); const merge = require('webpack-merge'); const common = require('./webpack.config.common'); module.exports = merge(common, { devtool: 'inline-source-map', devServer: { headers: { 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Methods': 'GET,POST,PUT,DELETE,PATCH,OPTIONS', 'Access-Control-Allow-Headers': 'content-type,authorization,accept', }, port: 8181, inline: true, historyApiFallback: true, clientLogLevel: 'none', open: true, contentBase: 'dist', }, plugins: [ new webpack.HotModuleReplacementPlugin(), new webpack.DefinePlugin({ 'process.env': { NODE_ENV: JSON.stringify('development'), }, __DEV__: true, }), ], });