Skip to content

Commit

Permalink
Enable .map extension in CompressionPlugin to ship compressed source …
Browse files Browse the repository at this point in the history
…maps as well
  • Loading branch information
guilleiguaran committed Jan 28, 2019
1 parent 1267acc commit 9e671a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/environments/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = class extends Base {
filename: '[path].gz[query]',
algorithm: 'gzip',
cache: true,
test: /\.(js|css|html|json|ico|svg|eot|otf|ttf)$/
test: /\.(js|css|html|json|ico|svg|eot|otf|ttf|map)$/
})
)

Expand Down

1 comment on commit 9e671a3

@guilleiguaran
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.