Skip to content

Commit

Permalink
feat(www): store xray on the host machine
Browse files Browse the repository at this point in the history
  • Loading branch information
sneas committed Aug 29, 2023
1 parent 16bc92f commit e45eeb7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
15 changes: 14 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@
"devDependencies": {
"@rollup/plugin-node-resolve": "^11.0.1",
"@semantic-release/git": "^10.0.1",
"@sneas/x-ray": "^3.0.4",
"@types/node": "^15.6.2",
"@types/react": "^17.0.9",
"@types/react-dom": "^17.0.6",
"bootstrap": "^5.2.0",
"copy-webpack-plugin": "^9.0.0",
"css-loader": "^5.2.6",
"gh-pages": "^3.2.0",
"html-loader": "^2.1.2",
"html-bundler-webpack-plugin": "^1.17.2",
"html-loader": "^2.1.2",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"npm-run-all": "^4.1.5",
Expand Down
1 change: 1 addition & 0 deletions packages/www/src/scripts/xray.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import '@sneas/x-ray';
2 changes: 1 addition & 1 deletion packages/www/src/views/partials/layout.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta property="og:url" content="https://img-comparison-slider.sneas.io{{page}}"/>
<meta property="og:image" content="https://img-comparison-slider.sneas.io/social-preview.png"/>
<link href="styles/main.scss" rel="stylesheet">
<script src="https://unpkg.com/@sneas/x-ray@3/dist/index.js" defer="defer"></script>
<script src="scripts/xray.ts" defer="defer"></script>
<script src="scripts/index.ts" defer="defer"></script>
</head>
<body>
Expand Down

0 comments on commit e45eeb7

Please sign in to comment.