Comments (3)
The spec says it should throw an error:
Lines 959 to 963 in 2f01f02
After a bit of digging, I found this comment that's related: #34117 (comment)
/cc @nodejs/loaders
from node.
Yes, this is disallowed. Instead write:
{
"imports": {
"#*": "./*"
}
}
If there's a strong argument to allow these my note in that comment still stands.
from node.
Keeping the current restriction is not much of a problem if the main documentation includes some warning or if the error message for using #/
was unique. As it stands, Node throws the generic error that applies to any failed module resolution and gives no indication that #/
itself is invalid.
from node.
Related Issues (20)
- test runner - Basic array join test doesn't finish before parent. HOT 4
- Support MockAgent for non-undici requests as well HOT 3
- Print a "current stack/callback/promise dump" from a running program HOT 2
- `os.homedir()` on Windows returns non-existent path HOT 1
- shellJS.exec() or child_process.exec() not executing callback function HOT 6
- stream.compose(...) doesn't destroy all active composed streams when it is destroyed
- fs.createWriteStream can cause out-of-order writes, in v18.16+ HOT 3
- test_runner: t.after is never called HOT 9
- Snapshot run failed on special RegExp HOT 5
- Throws assertion with match delegation
- test_runner (after) doesn't work on v21.7.0 HOT 1
- breaking change in 21.7.0 when mocking fetch HOT 4
- Enable --security-revert to be used in NODE_OPTIONS environment variable HOT 24
- Recursive fs.watch crashes on Linux when deleting files HOT 6
- [feat] Provide a standard way to get global and `npx` temporary `node_modules`
- http: create response.overwriteHead() for things like stream piping error handling HOT 5
- Node.js must support Windows Server 2016 HOT 2
- The assertion module should signals failures through messages to the test runner
- parallel/test-domain-error-types is flaky HOT 1
- util.styleText(): Combining multiple styles in a single string? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node.