Skip to content

Commit 79e5c17

Browse files
committed
add localstorage configuration for react-scripts in package.json
1 parent 45f7a26 commit 79e5c17

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.node-localstorage

Whitespace-only changes.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
"yocto-queue": "^1.2.0"
3838
},
3939
"scripts": {
40-
"start": "react-scripts start",
41-
"build": "react-scripts build",
40+
"start": "NODE_OPTIONS=--localstorage-file=.node-localstorage react-scripts start",
41+
"build": "NODE_OPTIONS=--localstorage-file=.node-localstorage react-scripts build",
4242
"test": "react-scripts test",
4343
"eject": "react-scripts eject",
4444
"prettier": "prettier --write \"**/*\"",

0 commit comments

Comments
 (0)