Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber committed Dec 20, 2023
1 parent a120c2f commit 6107f85
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ const argv = cli({
type: [
(flagValue: string) => {
const [key, value] = flagValue.split('=');
return { key, value };
return {
key,
value,
};
},
],
description: 'Compile-time environment variables (eg. --env.NODE_ENV=production)',
Expand Down
2 changes: 1 addition & 1 deletion src/local-typescript-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ const getLocalTypescriptPath = () => {
}
};

// eslint-disable-next-line n/global-require
// eslint-disable-next-line n/global-require, import/no-dynamic-require
export default require(getLocalTypescriptPath());

0 comments on commit 6107f85

Please sign in to comment.