mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-01-09 05:26:58 -06:00
PR-645309: fix npx.
This commit is contained in:
parent
f9518c12b6
commit
6b6949d441
@ -24,13 +24,13 @@ const runCommandWithOutput = command => {
|
||||
}
|
||||
}
|
||||
|
||||
const replaceTextOnFile = ({
|
||||
const replaceTextOnFile = async ({
|
||||
file,
|
||||
textToBeReplaced,
|
||||
textReplace,
|
||||
arrOfObjectsBeReplaced
|
||||
}) => {
|
||||
fs.readFileSync(file, 'utf8', function (err,data) {
|
||||
await fs.readFile(file, 'utf8', function (err,data) {
|
||||
let result
|
||||
if (err) {
|
||||
return console.error(err);
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@aleleba/create-react-ssr",
|
||||
"version": "3.0.43",
|
||||
"version": "3.0.44",
|
||||
"description": "Starter Kit of server side render of react",
|
||||
"bin": "./bin/cli.js",
|
||||
"main": "src/server/index",
|
||||
|
Loading…
Reference in New Issue
Block a user