Prepare for deployment
This commit is contained in:
parent
bdec4993ab
commit
e2b1d0b51d
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,3 +1,6 @@
|
||||||
/dist/
|
/dist/
|
||||||
/node_modules/
|
/node_modules/
|
||||||
/tmp/
|
/tmp/
|
||||||
|
|
||||||
|
/.env
|
||||||
|
/swa-cli.config.json
|
||||||
|
|
|
@ -54,8 +54,8 @@ const extractImages = (gulp, file) => () => (tree) => {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const asset = PRODUCTION
|
const asset = env.ASSETS_HOSTS
|
||||||
? (path) => join("https://assets.adaedra.eu/", path)
|
? (path) => new URL(path, env.ASSETS_HOSTS).toString()
|
||||||
: (path) => join("/_assets/", path);
|
: (path) => join("/_assets/", path);
|
||||||
|
|
||||||
const renderArticle = () => {
|
const renderArticle = () => {
|
||||||
|
|
3182
package-lock.json
generated
3182
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -22,6 +22,7 @@
|
||||||
"unified": "^11.0.4"
|
"unified": "^11.0.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@azure/static-web-apps-cli": "^1.1.8",
|
||||||
"@types/express": "^4.17.21",
|
"@types/express": "^4.17.21",
|
||||||
"@types/gulp": "^4.0.17",
|
"@types/gulp": "^4.0.17",
|
||||||
"@types/luxon": "^3.4.2",
|
"@types/luxon": "^3.4.2",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user