Skip to content

Commit

Permalink
hashing css assets for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
serializedowen committed Aug 24, 2020
1 parent 1c7c616 commit 7d490f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@serializedowen/vue-img-watermark",
"version": "0.4.0",
"version": "1.0.0",
"description": "add watermark for your image with only a single directive",
"main": "lib/vueImageWatermark.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions webpack.example.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ module.exports = {
// minimizer: [new CssMinimizerPlugin()],
},
output: {
filename: "[id][hash].js",
filename: "[id]-[hash].js",
},
mode: "development",
plugins: [
new HtmlWebpackPlugin({ template: "example/index.html" }),
new BundleAnalyzerPlugin(),
new MiniCssExtractPlugin({
filename: "[name].css",
chunkFilename: "[id].css",
filename: "[hash].css",
chunkFilename: "[id]-[hash].css",
ignoreOrder: false,
}),
],
Expand Down

0 comments on commit 7d490f8

Please sign in to comment.