Skip to content

[Bug] Plugin copy files only to the local disk where webpack is running #132

@kovart

Description

@kovart

When I copy files to another disk the plugin is freezed on "finishing emit":

> [email protected] build C:\Users\hardk\Desktop\GIT
> webpack --progress --hide-modules

 94% asset optimization[copy-webpack-plugin] starting emit
[copy-webpack-plugin] processing from: './src/' to: 'D:\test'
[copy-webpack-plugin] determined 'D:\test' is a 'dir'
[copy-webpack-plugin] determined './src/' to be read from 'C:\Users\hardk\Desktop\GIT\src'
[copy-webpack-plugin] begin globbing 'C:\Users\hardk\Desktop\GIT\src\**\*' with a context of 'C:\Users\hardk\Desktop\GIT\src'
[copy-webpack-plugin] found C:/Users/hardk/Desktop/GIT/src/entry.js
[copy-webpack-plugin] determined that 'C:/Users/hardk/Desktop/GIT/src/entry.js' should write to 'D:/test/entry.js'
[copy-webpack-plugin] reading C:\Users\hardk\Desktop\GIT\src\entry.js to write to assets
[copy-webpack-plugin] added 993fa16772f2e4d03a6ff7f21b0ca18f to written tracking for 'C:\Users\hardk\Desktop\GIT\src\entry.js'
[copy-webpack-plugin] writing 'D:/test/entry.js' to compilation assets from 'C:\Users\hardk\Desktop\GIT\src\entry.js'
[copy-webpack-plugin] finishing emit                                                              95% emitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions