Skip to content

Commit

Permalink
Lazy sharp require
Browse files Browse the repository at this point in the history
  • Loading branch information
zoontek committed Jul 3, 2023
1 parent 3d3b657 commit 327160a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions react-native.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
const path = require("path");
const { generate } = require("./dist/commonjs/generate");

module.exports = {
commands: [
{
Expand Down Expand Up @@ -45,6 +42,9 @@ module.exports = {
{ project: { android, ios } },
{ backgroundColor, logoWidth, assetsPath, flavor, platforms },
) => {
const path = require("path");
const { generate } = require("./dist/commonjs/generate");

const workingPath =
process.env.INIT_CWD || process.env.PWD || process.cwd();

Expand Down

0 comments on commit 327160a

Please sign in to comment.