Skip to content

Instantly share code, notes, and snippets.

View victorgarciaesgi's full-sized avatar
🍺
Apero

Victor Garcia victorgarciaesgi

🍺
Apero
View GitHub Profile
const path = require('path');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
const CompressionWebpackPlugin = require('compression-webpack-plugin');
const productionGzipExtensions = ['js'];
module.exports = {
configureWebpack: config => {
config.resolve.alias = {
'@components': path.resolve(__dirname, 'src/components/index.ts'),
'@views': path.resolve(__dirname, 'src/views'),