Symlinks to files outside package root are not being compiled
See original GitHub issue
When symlink is created to the dependency, rollup is giving error Error: Unexpected token (Note that you need plugins to import files that are not JavaScript)
Environment
Versions
- typescript:^3.6.4
- rollup:“^1.26.0”
- rollup-plugin-typescript2:^0.24.3
rollup.config.js
tsconfig.json
package.json
plugin output with verbosity 3
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:13 (2 by maintainers)
Top Results From Across the Web
symlink outside root directory - Stack Overflow
Ok, I am trying to create a symbolic link using php symlink() function, but am not fully understanding it. Here is what the...
Read more >Adding to path vs. linking from /bin - Unix Stack Exchange
If you call the application by a symbolic link, its code might fail to follow it and then look for these resource files...
Read more >Let a soft symlinked directory work as if it is a physical one.
I try to compile thermo_pw according to guidance here [1]. This package needs to be placed in the root directory of QE package...
Read more >The Buildroot user manual
While Buildroot itself will build most host packages it needs for the compilation, certain standard Linux utilities are expected to be already installed...
Read more >Dependency resolution - Parcel
Typically, these dependencies do not specify a full absolute path, but rather a shorter ... A package root is a directory with a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The same issue, but I use lerna to link packages, and rollup complains unexpected token for the linked packages.
i think we are on the same page here. #194
@ezolenko https://github.com/moki/mokui there is one.