question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is it possible to set target folder?

See original GitHub issue

Is it possible to set target folder(s), like:

staticPath: { "source": "['/source/dir','/source/static']", "target": "['/target/dir','/target/static']" },

in parcel-plugin-copy?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:10
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
elwin013commented, May 16, 2019

Ah, ok, got it! Right now it is not possible.

0reactions
ryanwinchestercommented, Jul 9, 2019

Right now, I have:

{
  "scripts": {
    "deploy": "parcel build js/app.js css/app.css --out-dir ../priv/static",
    "watch": "parcel watch js/app.js css/app.css --out-dir ../priv/static"
  },
  "staticFiles": {
    "staticPath": "static",
    "watcherGlob": false
  },
}

I have source:

js/app.js
css/app.css
static/images/

I want target to be:

priv/static/js/app.js
priv/static/css/app.css
priv/static/images/

But I end up with images in priv/static/js/images/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding a Target Folder to a Namespace - ServerAcademy.com
Step 1: Create the Target Folder main location. · On the lab you are using, go to the File Explorer. (Simply click the...
Read more >
Add Folder Targets | Microsoft Learn
To add a folder target · Click Start, point to Administrative Tools, and then click DFS Management. · In the console tree, under...
Read more >
Why do I need to set target folder as source ... - Stack Overflow
I believe whole of "target" is created when a maven project is compiled/packaged. And, adding a path to the source folder indexes the...
Read more >
Target Development Folders, Files, and Builds - MathWorks
Target development mechanics work with a number of folder and file types. The following topics provide the information to develop custom targets, configure...
Read more >
Is there a way to set word goals on folders? : r/scrivener - Reddit
Add the Target, Process, Total Target and Total Progress columns to the Outliner, using View > Outliner Options. The Total Progress will show ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found