Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module: deprecate "main" index and extension lookups #36918

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
capitalize comments
  • Loading branch information
guybedford authored Jan 23, 2021
commit c06baa30fcbea9e892b9bbd0ab5fdb2e2ad46afc
4 changes: 2 additions & 2 deletions test/es-module/test-esm-exports.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ import fromInside from '../fixtures/node_modules/pkgexports/lib/hole.js';
validSpecifiers.set('pkgexports/subpath/dir2', { default: 'index' });
validSpecifiers.set('pkgexports/subpath/dir2/', { default: 'index' });
} else {
// no exports or main field
// No exports or main field
validSpecifiers.set('no_exports', { default: 'index' });
// main field without extension
// Main field without extension
validSpecifiers.set('default_index', { default: 'main' });
guybedford marked this conversation as resolved.
Show resolved Hide resolved
}

Expand Down