This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"presets": [ | |
"es2015", | |
"react" | |
], | |
"plugins": [ | |
"react-hot-loader/babel" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
const CleanWebpackPlugin = require('clean-webpack-plugin'); | |
const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); | |
const CompressionPlugin = require('compression-webpack-plugin'); | |
const CopyWebpackPlugin = require('copy-webpack-plugin'); | |
const path = require('path'); | |
const Dotenv = require('dotenv-webpack'); | |
const BUILD_DIR = path.resolve(__dirname, 'build'); | |
const APP_DIR = path.resolve(__dirname, 'app'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const webpack = require('webpack'); | |
const path = require('path'); | |
const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
const CopyWebpackPlugin = require('copy-webpack-plugin'); | |
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin; | |
const Dotenv = require('dotenv-webpack'); | |
const BUILD_DIR = path.resolve(__dirname, 'build'); | |
const APP_DIR = path.resolve(__dirname, 'app'); |
NewerOlder