Skip to content

Commit

Permalink
Merge pull request #1124 from flexn-io/fix/logger-imports
Browse files Browse the repository at this point in the history
fix: incorrect logger imports in sdk-webpack
  • Loading branch information
pavjacko authored Oct 5, 2023
2 parents a1dd63d + 5750477 commit 4c73178
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/sdk-webpack/src/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// Do this as the first thing so that any code reading it knows the right env.

import { Logger } from '@rnv/core';
import { logError, logInfo, logSuccess, logWarning } from '@rnv/core';

process.env.BABEL_ENV = 'production';
process.env.NODE_ENV = 'production';
Expand All @@ -17,7 +17,6 @@ process.on('unhandledRejection', (err) => {
// Ensure environment variables are read.
require('../config/env');

const { logInfo, logWarning, logSuccess, logError } = Logger;
const path = require('path');
const chalk = require('react-dev-utils/chalk');
const fs = require('fs-extra');
Expand Down

0 comments on commit 4c73178

Please sign in to comment.