sutty-base-jekyll-theme/webpack.prod.js
2021-05-08 16:37:37 -03:00

18 lines
455 B
JavaScript

const webpack = require('webpack')
const merge = require('webpack-merge')
const common = require('./webpack.config')
const WebpackAssetsManifest = require('webpack-assets-manifest')
module.exports = merge.merge(common, {
mode: 'production',
output: {
filename: '[name].[hash].js'
},
devtool: 'source-map',
plugins: [
new webpack.IgnorePlugin(/axe-core/),
new WebpackAssetsManifest({
output: '_data/assets.json'
})
]
});