fix: Pack speckle logo with webpack correctly

This commit is contained in:
Alan Rynne
2023-10-31 12:07:01 +01:00
parent 71cbd55583
commit 7ad8cd7e24
2 changed files with 5 additions and 11 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ function goToGuide() {
class="flex flex-col justify-center items-center h-full w-full bg-primary text-center text-foundation" class="flex flex-col justify-center items-center h-full w-full bg-primary text-center text-foundation"
> >
<div class="flex justify-center items-center"> <div class="flex justify-center items-center">
<img src="../../assets/logo-white.png" alt="Logo" class="w-1/3" /> <img src="@assets/logo-white.png" alt="Logo" class="w-1/3" />
</div> </div>
<p class="heading">Speckle PowerBI 3D Visual</p> <p class="heading">Speckle PowerBI 3D Visual</p>
<div class="flex justify-center mt-2 gap-1"> <div class="flex justify-center mt-2 gap-1">
+4 -10
View File
@@ -12,14 +12,10 @@
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"esModuleInterop": true, "esModuleInterop": true,
"types": [], "types": [],
"baseUrl": "./", "baseUrl": ".",
"paths": { "paths": {
"src/*": [ "@src/*": ["src/*"],
"./src/*" "@assets/*": ["assets/*"]
],
"assets/*": [
"./assets/*"
]
} }
}, },
"ts-node": { "ts-node": {
@@ -30,7 +26,5 @@
}, },
"files": ["./src/visual.ts"], "files": ["./src/visual.ts"],
"include": ["./src/**/*.ts", "./src/**/*.vue"], "include": ["./src/**/*.ts", "./src/**/*.vue"],
"exclude": [ "exclude": ["webpack.config.dev.ts"]
"webpack.config.dev.ts"
]
} }