Sha256: bf4149b6d933208c062950c7841ac4098e5bd53df9364a7c1d14ea6fff770dfd
Contents?: true
Size: 570 Bytes
Versions: 1
Compression:
Stored size: 570 Bytes
Contents
/* eslint global-require: 0 */ // Note: You must run bin/webpack for changes to take effect const webpack = require('webpack') const merge = require('webpack-merge') const CompressionPlugin = require('compression-webpack-plugin') const sharedConfig = require('./shared.js') module.exports = merge(sharedConfig, { output: { filename: '[name]-[chunkhash].js' }, plugins: [ new webpack.optimize.UglifyJsPlugin(), new CompressionPlugin({ asset: '[path].gz[query]', algorithm: 'gzip', test: /\.(js|css|svg|eot|ttf|woff|woff2)$/ }) ] })
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
webpacker-1.1 | lib/install/config/webpack/production.js |