We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebe10e9 commit 3963d8cCopy full SHA for 3963d8c
src/content/configuration/output.md
@@ -10,6 +10,7 @@ contributors:
10
- fvgs
11
- dhurlburtusa
12
- MagicDuck
13
+ - fadysamirsadek
14
- byzyk
15
- madhavarshney
16
---
@@ -264,6 +265,17 @@ module.exports = {
264
265
};
266
```
267
268
+Using hashes generated for extracted content:
269
+
270
+```js
271
+module.exports = {
272
+ //...
273
+ output: {
274
+ filename: '[contenthash].bundle.css'
275
+ }
276
+};
277
+```
278
279
Make sure to read the [Caching guide](/guides/caching) for details. There are more steps involved than just setting this option.
280
281
Note this option is called filename but you are still allowed to use something like `"js/[name]/bundle.js"` to create a folder structure.
0 commit comments