Copy-webpack-plugin: Add a copy option to copy relative symbolic links without resolving.

Created on 17 May 2019  路  12Comments  路  Source: webpack-contrib/copy-webpack-plugin

  • Operating System: N/A
  • Node Version: N/A
  • NPM Version: N/A
  • webpack Version: 4
  • copy-webpack-plugin Version: 5.0.3

Feature Proposal

Add an option to copy-webpack-plugin to copy relative symbolic links without resolving the underlying structure.

Feature Use Case

An example repo can be found here: https://github.com/PabloK/copy-webpack-381

5 (nice to have) Minor 4 (inconvenient) Feature

Most helpful comment

Yes, please!

All 12 comments

Yes, please!

PR welcome

I have started a PR on this so far only a failing test. It can be found here. Would be glad to have some review of the test as I'm new to the testing style you use.

https://github.com/PabloK/copy-webpack-plugin

@PabloK please send a PR and i will review and say what is wrong

What's "confusing" the task seems pretty clear to me?

My mistake

馃憤 just wanted to mention that this is important when using libraries like sharp, which resolve dependencies with local symlinks.

PR welcome

I think we don't need this option, because https://github.com/mrmlnc/fast-glob#followsymboliclinks

I will add tests and docs

Bug on fast-glob side

Found other bugs on our side, but we need to solve https://github.com/mrmlnc/fast-glob/issues/300 firstly

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nickenchev picture nickenchev  路  3Comments

ietabhi picture ietabhi  路  5Comments

richmeij picture richmeij  路  5Comments

RPDeshaies picture RPDeshaies  路  5Comments

stq picture stq  路  5Comments