Skip to content

Commit

Permalink
chore:캐싱되는 값들의 빌드 위치 지정
Browse files Browse the repository at this point in the history
  • Loading branch information
ss0526100 committed Sep 25, 2024
1 parent 156433d commit a4a914a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,15 @@ module.exports = {
resourceQuery: { not: [/url/] },
generator: {
outputPath: 'svgs/',
publicPath: 'svgs/',
},
},
{
type: 'asset/resource',
resourceQuery: /url/,
generator: {
outputPath: 'svgs/',
publicPath: 'svgs/',
},
},
],
Expand All @@ -75,6 +77,7 @@ module.exports = {
type: 'asset/resource',
generator: {
outputPath: 'assets/',
publicPath: 'assets/',
},
},
],
Expand Down

0 comments on commit a4a914a

Please sign in to comment.