[Chrome Extension] How to import same javascript file on different projects
This explains only on Mac environment.
When developing Chrome plugin.
each Plugin can refer only the files inside the folder.
so, If there are several project like below(sample
, tabswitcher-master
), I had to copy and past the utility javascript file to each project’s folder. but I would like to use same files in util
folder
Then, how can we use just same file from several projects? I solved by hard link from Linux.
you can check the source code. If you want to know how to import javascript file. I recommend this article