-
Notifications
You must be signed in to change notification settings - Fork 6
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
What does .Error
mean in import Error from '.Error'
?
#3
Comments
.Error
mean in import Error from '.Error'
.Error
mean in import Error from '.Error'
?
Line 12 in ebcd61c
It seems you are using Line 14 in ebcd61c
It's also possible that you are reading the source. Line 1 in ebcd61c
Just remeber, module id starting with a dot means that's a global variable in most cases; and if it does not exist in js spec, it's my personal util (only very small and very common use util that not worth to be independent package to publish, like
For example, But that has a problem, if my downstream project packed a lot of upstream packages, then here will be a lot of repeating of same thing. So in
Welcome to discuss. |
So I can't reproduce the build and verify the dist package. Without verification the usage of your code is risky. Not that I verify every npm package with sources, I almost never do it, but I feel more trust to packages that can be verified by a community. |
Of cause! That's necessary. In fact the bundler tool I use is a custom edition rollup (approximate rollup + dot module plugin + terser). I just have too many package in publishing process, including bundler tool. People won't accept what you worried, me too. Thank you for communication! |
I found a temporary way to confirm the dist safe, by easily search in the dist file:
Line 1939 in ebcd61c
Line 384 in ebcd61c
Line 494 in ebcd61c
@ilyaigpetrov Hope this would help. |
If some other developer can't fork your project and develop/build it himself with the same provided toolset (for the equal productivity) as you then I doubt it should be called "Open Source". For the same reason we don't call obfuscated sources "Open Source" because editing obfuscated code can't compete in productivity with editing original code. I'm not a guru of open source philosophy, I can mistake, but that's how I get it. I guess, "being open to competition" -- that's how it may be called. |
Since 1.17.0,
[^1]: Remain one place in |
Hello.
I've never seen such import declaration:
import Error from '.Error';
.Why does it start with a dot?
What behavior should I expect from this notation?
Please, share a link to some article about this declaration.
Thank you,
Ilya.
The text was updated successfully, but these errors were encountered: