Skip to content

Commit

Permalink
remove next config require (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan-Arrowood authored Dec 4, 2024
1 parent d3fdae0 commit de5f1dc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,14 +219,6 @@ export function startOnMainThread(options = {}) {

const componentRequire = createRequire(componentPath);

// TODO: support .ts and .mjs configs
// TODO: document what this require is implicitly doing (i.e. loads config file so cache is instantiated?)
try {
componentRequire('./next.config.js');
} catch (error) {
logger.error('Failed to load next.config.js', error);
}

try {
componentRequire.resolve('next');
} catch (error) {
Expand Down

0 comments on commit de5f1dc

Please sign in to comment.