Skip to content

Commit

Permalink
fix(main): update main path
Browse files Browse the repository at this point in the history
  • Loading branch information
kherP committed Mar 2, 2021
1 parent e124c2b commit 52d9a14
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
const pkg = require("../package.json");

module.exports = {
pathPrefix: pkg.config.base,
siteMetadata: {
title: "react-comps",
siteUrl: "https://sebgroup.github.io/react-components/",
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"scripts": {
"start": "gatsby develop -p 3000",
"build": "gatsby build",
"build": "gatsby build --prefix-paths",
"serve": "gatsby serve",
"clean": "gatsby clean"
},
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0-semantically-released",
"description": "A set of React components based on SEB design library guidelines for mobile and web React applications",
"license": "Apache-2.0",
"main": "./cjs/index.js",
"main": "./index.js",
"module": "./esm/index.js",
"exports": {
"./": {
Expand Down Expand Up @@ -80,6 +80,7 @@
"semantic-release": "^17.3.9"
},
"config": {
"base": "/react-components",
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
Expand Down

0 comments on commit 52d9a14

Please sign in to comment.