Add an option to create symlink for all non-JavaScript files
See original GitHub issueThe original issue: http://stackoverflow.com/questions/32634521/is-there-a-variable-that-refers-to-the-package-base-directory?noredirect=1#comment53117653_32634521
Using gulp-babel to transpile code directories leaves out dependencies that are not JavaScript (e.g. JSON). All relative references to these dependencies will fail. Two possible solutions:
- Create a symlink
- Append a string to every require that resolves path to
./src/
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
How to create symbolic links to all files (class of files) in a ...
In the 2nd form, create a link to TARGET in the current directory. ... cp with -s option can create a soft links...
Read more >How to Create Linux Symlinks (Symbolic Links) - Hostinger
Create Symbolic Link in Linux for Files ... Generally, to create links use we use the ln command and the -s option to...
Read more >How to Create Symbolic Links: A Comprehensive Guide
Need to get files and directories faster in Linux? Make administering your servers easier with this guide on how to create a symbolic...
Read more >Symlink Tutorial in Linux – How to Create and Remove a ...
This will list all broken symlinks in the james directory – from files to directories to sub-directories. Passing the -delete option will delete ......
Read more >How to Create Symbolic Link in Linux Using Ln Command
The -f option will force the command to overwrite a file that already exists. Source is the file or directory being linked to....
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
You do not need
gulp-babel
orgulp-copy
for copying files. Just copy all the files from./src
to./dist
using gulp itself. Then overwrite the build files usinggulp-babel
.@sindresorhus that makes sense and now that you put it that way (in the context of gulp), I understand. Thanks!
Sent from my iPhone