Fix: Error on run

This commit is contained in:
Marselino Widis 2023-01-18 11:34:11 +07:00
parent 26e6047805
commit d46407cc68

View File

@ -4,7 +4,7 @@
"description": "Server-side rendering with mobx and react-router",
"main": "src/index.js",
"scripts": {
"start": "node src/index.js",
"start": "node -r esm src/index.js",
"babel-node": "node node_modules/@babel/node/bin/babel-node.js --presets=@babel/preset-env --plugins=@babel/plugin-transform-runtime",
"watch:client": "webpack --watch",
"watch:server": "npm run babel-node -- ./src/index.js",
@ -55,6 +55,7 @@
"cssnano": "^4.1.8",
"debug": "^4.1.1",
"decimal.js-light": "^2.3.1",
"esm": "^3.2.25",
"exenv": "^1.2.2",
"express": "^4.16.2",
"faker": "^4.1.0",
@ -107,7 +108,6 @@
"react-easy-print": "^0.6.0-beta.3",
"react-flexible-carousel": "^1.2.6",
"react-froala-wysiwyg": "^2.8.4",
"react-gif": "^0.1.0",
"react-google-charts": "^3.0.8",
"react-grid-gallery": "^0.5.2",
"react-handsontable": "^0.3.1",