Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: use contenthash instead of chunkhash
Browse files Browse the repository at this point in the history
MarshallOfSound committed Aug 7, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent df7a9ad commit 2b9e511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.production.config.js
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ const { SubresourceIntegrityPlugin } = require('webpack-subresource-integrity');
const config = require('./webpack.config');

// Hash all JS assets
config.output.filename = '[name].[chunkhash].min.js';
config.output.filename = '[name].[contenthash].min.js';

// Remove devServer config
delete config.devServer;

0 comments on commit 2b9e511

Please sign in to comment.