Build without hashed output #7157
Unanswered
danielleroux
asked this question in
General
Replies: 1 comment
-
|
Hashed outputs is useful for aggressive CDN/browser caching, avoiding name conflicts and other things. You can create a site plugin, implement Our default Webpack output config is output: {
pathinfo: false,
path: outDir,
filename: isProd ? 'assets/js/[name].[contenthash:8].js' : '[name].js',
chunkFilename: isProd
? 'assets/js/[name].[contenthash:8].js'
: '[name].js',
publicPath: baseUrl,
hashFunction: 'xxhash64',
}, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to build docusaurus without hashed javascript output?
Beta Was this translation helpful? Give feedback.
All reactions