forked from Mirrors/keyoxide-web
Enable experimental-fetch
This commit is contained in:
parent
ef64a3ec68
commit
3c5426bf96
3 changed files with 6 additions and 3 deletions
|
@ -23,4 +23,4 @@ RUN npm install jsdom
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
CMD node ./dist/
|
CMD node --experimental-fetch ./dist/
|
|
@ -1,4 +1,7 @@
|
||||||
{
|
{
|
||||||
|
"execArgs": [
|
||||||
|
"--experimental-fetch"
|
||||||
|
],
|
||||||
"env": {
|
"env": {
|
||||||
"NODE_ENV": "development",
|
"NODE_ENV": "development",
|
||||||
"KX_HIGHLIGHTS_1_NAME": "Yarmo Mackenbach",
|
"KX_HIGHLIGHTS_1_NAME": "Yarmo Mackenbach",
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
"webpack-cli": "^4.9.2"
|
"webpack-cli": "^4.9.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./",
|
"start": "node --experimental-fetch ./",
|
||||||
"dev": "yarn run watch & yarn run build:static:dev",
|
"dev": "yarn run watch & yarn run build:static:dev",
|
||||||
"test": "mocha",
|
"test": "mocha",
|
||||||
"watch": "./node_modules/.bin/nodemon --config nodemon.json ./",
|
"watch": "./node_modules/.bin/nodemon --config nodemon.json ./",
|
||||||
|
|
Loading…
Reference in a new issue