Skip to content

Commit

Permalink
v1.22.2 fix CDN link and hide version hash
Browse files Browse the repository at this point in the history
  • Loading branch information
im6 committed Jul 11, 2020
1 parent f26ce82 commit f81fb58
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions dist/public/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/server/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vp",
"version": "1.22.1",
"version": "1.22.2",
"description": "source code of react.colorpk.com",
"engines": {
"npm": ">=6.13.4",
Expand Down
4 changes: 2 additions & 2 deletions webpack/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ const prodBase = {

const client = Object.assign(clientBaseConfig, prodBase, {
output: {
publicPath: `https://cdn.jsdelivr.net/gh/im6/vp@v${version}/dist/public`,
publicPath: `https://cdn.jsdelivr.net/gh/im6/vp@v${version}/dist/public/`,
path: path.join(__dirname, '../dist/public'),
filename: '[name].js?[contenthash]',
filename: '[name].js', // '[name].js?[contenthash]',
},
module: {
rules: [
Expand Down

0 comments on commit f81fb58

Please sign in to comment.