Bundle and Example in parallel folders
See original GitHub issueIn my scenario…
I want to serve examples
but my module is built into build
because this is a lib that people will consume.
However, the served example doing <script src="../build/lib.js"></script>
Will not serve correctly. What’s the best way to handle this situation? Is there a copy operation? Can serve perform relative paths or does that breach security?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
bundle install creating a 'parallel' folder in the rails app
So when I ran bundle install again it created a separate folder parallel and installed the gems there. My question is why does...
Read more >Python File Importation into Multi-Level Directory Modules and ...
As a Python programmer, it is a best practice to abstract application code into different files and directories and according to their related...
Read more >Share Files and Folders - Parallels
Parallels Desktop allows you to share folders between the Mac OS X and Windows file systems, so you can easily open Mac OS...
Read more >bundle install - Bundler
Creates a directory (defaults to ~/bin ) and places any executables from the gem there. These executables run in Bundler's context. If used,...
Read more >Python – Import module from different directory - GeeksforGeeks
Let's suppose, to import how to import file in Python, we have two different folders, one contains main.py which is our main Python...
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
I have exactly the same use case as @mflux in a few of my projects. Looking at other module bundlers/task runners this type of setup is seems pretty supported by allowing an array of values for their
contentBase
equivalent.From some quick searching I can see support in:
Implementing this could be of great help to those migrating to rollup from other tools by minimizing the reworking a project may require.
Alright, good point @jdonaldson10, make sure to check out version 0.3.0 😃
Thanks for bringing it up @mflux!