Skip to content

Commit 7e1fd64

Browse files
committed
issue-1691: Fixing assets-manifest filter.
1 parent 4ed204d commit 7e1fd64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ module.exports = {
127127
*/
128128
map: (data) => {
129129
return {
130-
path: data.path.replace(/^strongbox-web-ui/i, '').replace('/index.html', '/'),
130+
path: data.path.replace('/index.html', '/'),
131131
name: path.basename(data.name),
132132
isInitial: data.isInitial,
133133
isChunk: data.chunk,
@@ -136,7 +136,7 @@ module.exports = {
136136
}
137137
},
138138
filter: (data) => {
139-
return data.name !== 'main.main'
139+
return data.name.match(/main\.main$/) === null;
140140
}
141141
}),
142142
new FileManagerPlugin({

0 commit comments

Comments
 (0)