Skip to content

Commit

Permalink
Update mangleErrors to use a relative path for imports
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Apr 2, 2021
1 parent 05d5505 commit b3e26c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/mangleErrors.js
Expand Up @@ -103,9 +103,10 @@ module.exports = babel => {
}

// Import the error message function
// Note that all of our error messages are in `src`, so we can assume a relative path here
const formatProdErrorMessageIdentifier = helperModuleImports.addDefault(
path,
'src/utils/formatProdErrorMessage',
'./utils/formatProdErrorMessage',
{ nameHint: 'formatProdErrorMessage' }
)

Expand Down

0 comments on commit b3e26c6

Please sign in to comment.