download twitter widget code

This commit is contained in:
hzrd149
2023-02-07 17:04:18 -06:00
parent c8bb1f3d3f
commit 35a9a9966a
4 changed files with 15 additions and 6 deletions

3
.prettierignore Normal file
View File

@@ -0,0 +1,3 @@
node_modules
dist
src/lib

View File

@@ -14,10 +14,6 @@
<div id="root"></div>
<script type="module" src="./src/index.tsx"></script>
<script
async
src="https://platform.twitter.com/widgets.js"
charset="utf-8"
></script>
<script async src="./src/lib/twitter-widgets.js" charset="utf-8"></script>
</body>
</html>

View File

@@ -6,7 +6,7 @@
"scripts": {
"start": "vite serve",
"build": "tsc && vite build",
"format": "prettier --ignore-path .gitignore -w ."
"format": "prettier --ignore-path .prettierignore -w ."
},
"dependencies": {
"@chakra-ui/icons": "^2.0.14",

File diff suppressed because one or more lines are too long