Closed jaschaio closed 2 years ago
The easiest way is to configure it explicitly:
assets: [
{
from: ["./node_modules/tinymce/themes/mobile/*"],
to: ["./js/skins/mobile"],
},
{
from: ["./node_modules/tinymce/themes/silver/*"],
to: ["./js/skins/silver"],
},
]
Yeah thats the solution I came up with but it's pretty ugly once you have a handful of subdirectories to copy as well.
This is supported at latest version 1.0.1
, please refers to esbuild-plugin-copy#preserve-file-structure
How do I keep the directory structure when copying?
This merges all files within the root directory
/js/skins/
and doesn't preserve the original directory structure.