Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 37439335 authored by Hugues's avatar Hugues
Browse files

fix generate prefixPaths in static site

parent 966ebaa2
No related branches found
No related tags found
1 merge request!17Resolve "(bug) link and image fail on static site"
Pipeline #2154 passed
...@@ -21,7 +21,7 @@ pages: ...@@ -21,7 +21,7 @@ pages:
stage: build stage: build
script: script:
- npm install gatsby-cli - npm install gatsby-cli
- npm run build --prefix-paths - npm run build
artifacts: artifacts:
paths: paths:
- public - public
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
], ],
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build": "gatsby build", "build": "gatsby build --prefix-paths",
"lint": "node_modules/.bin/eslint src/", "lint": "node_modules/.bin/eslint src/",
"fix": "npx eslint src/gatsby-plugin-theme-ui/index.js --fix", "fix": "npx eslint src/gatsby-plugin-theme-ui/index.js --fix",
"develop": "gatsby develop", "develop": "gatsby develop",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment