Skip to content

Commit 9e671a3

Browse files
committed
Enable .map extension in CompressionPlugin to ship compressed source maps as well
1 parent 1267acc commit 9e671a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/environments/production.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = class extends Base {
1414
filename: '[path].gz[query]',
1515
algorithm: 'gzip',
1616
cache: true,
17-
test: /\.(js|css|html|json|ico|svg|eot|otf|ttf)$/
17+
test: /\.(js|css|html|json|ico|svg|eot|otf|ttf|map)$/
1818
})
1919
)
2020

0 commit comments

Comments
 (0)