Prepare for deployment
This commit is contained in:
parent
bdec4993ab
commit
e2b1d0b51d
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,3 +1,6 @@
|
|||
/dist/
|
||||
/node_modules/
|
||||
/tmp/
|
||||
|
||||
/.env
|
||||
/swa-cli.config.json
|
||||
|
|
|
@ -54,8 +54,8 @@ const extractImages = (gulp, file) => () => (tree) => {
|
|||
});
|
||||
};
|
||||
|
||||
const asset = PRODUCTION
|
||||
? (path) => join("https://assets.adaedra.eu/", path)
|
||||
const asset = env.ASSETS_HOSTS
|
||||
? (path) => new URL(path, env.ASSETS_HOSTS).toString()
|
||||
: (path) => join("/_assets/", path);
|
||||
|
||||
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"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@azure/static-web-apps-cli": "^1.1.8",
|
||||
"@types/express": "^4.17.21",
|
||||
"@types/gulp": "^4.0.17",
|
||||
"@types/luxon": "^3.4.2",
|
||||
|
|
Loading…
Reference in New Issue
Block a user