Skip to content

Commit

Permalink
Merge pull request #1159 from flexn-io/fix/web_export
Browse files Browse the repository at this point in the history
fix/web_export
  • Loading branch information
mihaiblaga89 authored Oct 16, 2023
2 parents e1f31c1 + 979df5a commit b1579d7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/engine-rn-next/src/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,12 @@ export const getTranspileModules = (c: RnvContext) => {

export const buildWebNext = async (c: RnvContext) => {
logTask('buildWebNext');
const env = getConfigProp(c, c.platform, 'environment');

const envExt = await _checkPagesDir(c);

await executeAsync(c, 'npx next build', {
...process.env,
env: {
NODE_ENV: env || 'development',
...envExt,
...generateEnvVars(c, getModuleConfigs(c, 'engine-rn-next'), getTranspileModules(c)),
},
Expand Down

0 comments on commit b1579d7

Please sign in to comment.