mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 23:09:29 -07:00
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,13 +37,13 @@
|
||||||
"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 ./",
|
||||||
"build": "yarn run build:server & yarn run build:static",
|
"build": "yarn run build:server & yarn run build:static",
|
||||||
"build:server": "ncc build ./src/index.js -e jsdom -o dist",
|
"build:server": "ncc build ./src/index.js -e jsdom -o dist",
|
||||||
"build:static": "webpack --config webpack.config.js --env static=true --env mode=production",
|
"build:static": "webpack --config webpack.config.js --env static=true --env mode=production",
|
||||||
"build:static:dev": "webpack --config webpack.config.js --env static=true --env mode=development",
|
"build:static:dev": "webpack --config webpack.config.js --env static=true --env mode=development",
|
||||||
"license:check": "./node_modules/.bin/license-check-and-add check",
|
"license:check": "./node_modules/.bin/license-check-and-add check",
|
||||||
"license:add": "./node_modules/.bin/license-check-and-add add",
|
"license:add": "./node_modules/.bin/license-check-and-add add",
|
||||||
|
|
Loading…
Reference in a new issue