Skip to content

Commit bc8e8c2

Browse files
committed
chore: update demo & remove stylelint
1 parent 6341f7e commit bc8e8c2

File tree

7 files changed

+1146
-3696
lines changed

7 files changed

+1146
-3696
lines changed

.stylelintrc.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

demo/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Demo
22

3-
This project uses [Next.js](https://nextjs.org/)
3+
This project uses [Next.js](https://nextjs.org/) and may be accessed at https://moxystudio.github.io/react-wait-for-react/.
44

5-
Be sure to run npm run build inside the root project directory and npm i inside the demo directory each time you make a change to the library.
5+
Be sure to run npm run build inside the root project directory and `npm i` inside the demo directory each time you make a change to the library.

demo/next.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1+
const basePath = process.env.GITHUB_ACTIONS ? '/react-wait-for-react' : '';
2+
13
module.exports = {
24
exportPathMap() {
35
return {
46
'/': { page: '/' },
57
};
68
},
7-
assetPrefix: process.env.GITHUB_ACTIONS ? '/react-wait-for-react/' : '',
8-
webpack: (config) => {
9-
config.resolve.symlinks = false;
10-
11-
return config;
9+
assetPrefix: `${basePath}/`,
10+
experimental: {
11+
basePath,
1212
},
1313
};

0 commit comments

Comments
 (0)