Add foliate-js submodule with import alias
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
[submodule "web/vendor/foliate-js"]
|
||||||
|
path = web/vendor/foliate-js
|
||||||
|
url = git@github.com:john-okeefe/foliate-js.git
|
||||||
@@ -1,5 +1,11 @@
|
|||||||
import { defineConfig } from "vite";
|
import { defineConfig } from "vite";
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
resolve: {
|
||||||
|
alias: {
|
||||||
|
"@": "/web/src",
|
||||||
|
"foliate-js": "/web/vendor/foliate-js",
|
||||||
|
},
|
||||||
|
},
|
||||||
base: "/static/",
|
base: "/static/",
|
||||||
build: {
|
build: {
|
||||||
outDir: "web/static",
|
outDir: "web/static",
|
||||||
|
|||||||
+1
Submodule web/vendor/foliate-js added at 76dcd8f0f7
Reference in New Issue
Block a user