@@ -104,7 +104,7 @@ carrying a hash for each one.
104104``` html
105105<!DOCTYPE html>
106106<html lang =" en" >
107- <head ><meta http-equiv =" Content-Security-Policy" content =" script-src 'self' 'sha256-5NlCGoSN8ETSUabbmQKYTt1H6nvYWb5OGZJTsWS8iC8='; style-src 'self' 'sha256-vp73KxgWfPhtZ9IRKOt378FrPIkD/T6FbLXnXfaktI8=' 'sha256-+Ver9ZPpEiV0Cq4WfPc7DL+LUo1ECenMRe/8IigO+wA ='; object-src 'none'; base-uri 'self'" >
107+ <head ><meta http-equiv =" Content-Security-Policy" content =" script-src 'self' 'sha256-5NlCGoSN8ETSUabbmQKYTt1H6nvYWb5OGZJTsWS8iC8='; style-src 'self' 'sha256-vp73KxgWfPhtZ9IRKOt378FrPIkD/T6FbLXnXfaktI8=' 'sha256-PeRoLnh26TSx4wkeBvm/ZhVSCqLZCkG+9GLVbJikD+I ='; object-src 'none'; base-uri 'self'" >
108108 <meta charset =" utf-8" />
109109 <title >CSP</title >
110110
@@ -131,8 +131,7 @@ h1.ready {
131131 body {
132132 font-family : sans-serif ;
133133 }
134-
135- </style >
134+ </style >
136135 </head >
137136 <body >
138137 <h1 >Content-Security-Policy</h1 >
@@ -159,59 +158,59 @@ console.log("bundled + inlined script, covered by a CSP hash");
159158
160159```
161160asset index.html 1.59 KiB [emitted] (auxiliary name: index)
162- asset app.js 319 bytes [emitted] (name: __html_6d047296_1 )
163- asset styles.css 157 bytes [emitted] (name: __html_6d047296_0 )
161+ asset app.js 319 bytes [emitted] (name: src-index-1 )
162+ asset styles.css 157 bytes [emitted] (name: src-index-0 )
164163Entrypoint index (1.59 KiB) = 1 auxiliary asset
165- Entrypoint __html_6d047296_1 319 bytes = app.js
166- Entrypoint __html_6d047296_0 157 bytes = styles.css
167- chunk (runtime: __html_6d047296_0) styles.css (__html_6d047296_0) 55 bytes (css) 0 bytes (runtime) [entry] [rendered]
168- > ./styles.css __html_6d047296_0
169- runtime modules 0 bytes 1 module
170- css ./src/styles.css 55 bytes [built] [code generated]
171- [no exports]
172- [used exports unknown]
173- entry ./styles.css __html_6d047296_0
174- chunk (runtime: __html_6d047296_1) app.js (__html_6d047296_1) 117 bytes [entry] [rendered]
175- > ./app.js __html_6d047296_1
176- ./src/app.js 117 bytes [built] [code generated]
177- [used exports unknown]
178- entry ./app.js __html_6d047296_1
164+ Entrypoint src-index-1 319 bytes = app.js
165+ Entrypoint src-index-0 157 bytes = styles.css
179166chunk (runtime: index) (index) 47 bytes (css-text) 549 bytes (html) [entry]
180167 > ./src/index.html index
181168 dependent modules 47 bytes [dependent] 1 module
182169 ./src/index.html 549 bytes [built] [code generated]
183170 [exports: default]
184171 [used exports unknown]
185172 entry ./src/index.html index
173+ chunk (runtime: src-index-0) styles.css (src-index-0) 55 bytes (css) 0 bytes (runtime) [entry] [rendered]
174+ > ./styles.css src-index-0
175+ runtime modules 0 bytes 1 module
176+ css ./src/styles.css 55 bytes [built] [code generated]
177+ [no exports]
178+ [used exports unknown]
179+ entry ./styles.css src-index-0
180+ chunk (runtime: src-index-1) app.js (src-index-1) 117 bytes [entry] [rendered]
181+ > ./app.js src-index-1
182+ ./src/app.js 117 bytes [built] [code generated]
183+ [used exports unknown]
184+ entry ./app.js src-index-1
186185webpack X.X.X compiled successfully
187186```
188187
189188## Production mode
190189
191190```
192191asset index.html 570 bytes [emitted] [minimized] (auxiliary name: index)
193- asset styles.css 40 bytes [emitted] [minimized] (name: __html_6d047296_0 )
192+ asset styles.css 40 bytes [emitted] [minimized] (name: src-index-0 )
194193Entrypoint index (570 bytes) = 1 auxiliary asset
195- Entrypoint __html_6d047296_1 =
196- Entrypoint __html_6d047296_0 40 bytes = styles.css
194+ Entrypoint src-index-1 =
195+ Entrypoint src-index-0 40 bytes = styles.css
197196chunk (runtime: index) (index) 47 bytes (css-text) 549 bytes (html) [entry]
198197 > ./src/index.html index
199198 dependent modules 47 bytes [dependent] 1 module
200199 ./src/index.html 549 bytes [built] [code generated]
201200 [exports: default]
202201 [no exports used]
203202 entry ./src/index.html index
204- chunk (runtime: __html_6d047296_0 ) styles.css (__html_6d047296_0 ) 55 bytes (css) 0 bytes (runtime) [entry] [rendered]
205- > ./styles.css __html_6d047296_0
203+ chunk (runtime: src-index-0 ) styles.css (src-index-0 ) 55 bytes (css) 0 bytes (runtime) [entry] [rendered]
204+ > ./styles.css src-index-0
206205 runtime modules 0 bytes 1 module
207206 css ./src/styles.css 55 bytes [built] [code generated]
208207 [no exports]
209208 [no exports used]
210- entry ./styles.css __html_6d047296_0
211- chunk (runtime: __html_6d047296_1 ) (__html_6d047296_1 ) 117 bytes [entry] [rendered]
212- > ./app.js __html_6d047296_1
209+ entry ./styles.css src-index-0
210+ chunk (runtime: src-index-1 ) (src-index-1 ) 117 bytes [entry] [rendered]
211+ > ./app.js src-index-1
213212 ./src/app.js 117 bytes [built] [code generated]
214213 [no exports used]
215- entry ./app.js __html_6d047296_1
214+ entry ./app.js src-index-1
216215webpack X.X.X compiled successfully
217216```
0 commit comments