Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
fix sri plugin position
Browse files Browse the repository at this point in the history
  • Loading branch information
FallingSnow committed Feb 13, 2017
1 parent 2464b89 commit 0cfcfd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webpack.config.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,6 @@ const config = {
collapseWhitespace: true
}
}),
new SriPlugin({
hashFuncNames: ['sha256', 'sha384'],
}),
])
.concat(ENV === 'production' ? [
new webpack.optimize.UglifyJsPlugin({
Expand All @@ -175,6 +172,9 @@ const config = {
reduce_vars: true
}
}),
new SriPlugin({
hashFuncNames: ['sha256', 'sha384'],
}),
] : [
new DashboardPlugin(),
new FriendlyErrorsWebpackPlugin(),
Expand Down

0 comments on commit 0cfcfd5

Please sign in to comment.