sutty-base-jekyll-theme/webpack.prod.js

19 lines
455 B
JavaScript
Raw Normal View History

const webpack = require('webpack')
const merge = require('webpack-merge')
const common = require('./webpack.config')
const WebpackAssetsManifest = require('webpack-assets-manifest')
2020-11-12 16:28:24 +00:00
module.exports = merge.merge(common, {
mode: 'production',
2021-05-08 19:37:37 +00:00
output: {
filename: '[name].[hash].js'
},
devtool: 'source-map',
plugins: [
new webpack.IgnorePlugin(/axe-core/),
new WebpackAssetsManifest({
output: '_data/assets.json'
})
]
2020-11-12 16:28:24 +00:00
});