naoufal/react-native-apple-pay

View on GitHub
examples/web/webpack.development.config.js

Summary

Maintainability
A
0 mins
Test Coverage
const webpack = require('webpack');
const baseWebpackConfig = require('./webpack.base.config.js');

module.exports = Object.assign({}, baseWebpackConfig, {
  devServer: {
    port: 8080,
    historyApiFallback: {
      index: './public/index.html'
    }
  },
  plugins: [
    new webpack.DefinePlugin({
      __DEV__: true,
      'process.env': {
        NODE_ENV: JSON.stringify('development')
      }
    })
  ]
});