Skip to content

Commit 02f48bb

Browse files
Apply suggestions from code review
Co-authored-by: silverwind <[email protected]>
1 parent 45c548a commit 02f48bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,15 +186,15 @@ export default {
186186
type: 'asset/resource',
187187
generator: {
188188
filename: 'fonts/[name][ext]',
189-
publicPath: '/', // required to remove css/ path segment
189+
publicPath: '/assets/', // required to remove css/ path segment
190190
}
191191
},
192192
{
193193
test: /\.png$/i,
194194
type: 'asset/resource',
195195
generator: {
196196
filename: 'img/webpack/[name][ext]',
197-
publicPath: '/', // required to remove css/ path segment
197+
publicPath: '/assets/', // required to remove css/ path segment
198198
}
199199
},
200200
],

0 commit comments

Comments
 (0)