Skip to content

Commit

Permalink
💄 site static js use contentHash
Browse files Browse the repository at this point in the history
  • Loading branch information
ycjcl868 committed Apr 9, 2019
1 parent bef491e commit fc88336
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"antd-tools": "^7.3.0",
"babel-eslint": "^10.0.1",
"babel-plugin-add-react-displayname": "^0.0.5",
"bisheng": "^1.1.0",
"bisheng": "^1.2.2",
"bisheng-plugin-antd": "^1.0.0",
"bisheng-plugin-description": "^0.1.4",
"bisheng-plugin-react": "^1.0.0",
Expand Down
1 change: 1 addition & 0 deletions site/bisheng.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ function alertBabelConfig(rules) {

module.exports = {
port: 8001,
hash: true,
source: {
components: './components',
docs: './docs',
Expand Down
2 changes: 1 addition & 1 deletion site/theme/static/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<div id="react-content">
{{ content | safe }}
</div>
<script src="{{ root }}index.js"></script>
<script src="{{ root }}{{ manifest['index.js'] }}"></script>
<!-- Global Site Tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-72788897-1"></script>
<script>
Expand Down

0 comments on commit fc88336

Please sign in to comment.