-
Notifications
You must be signed in to change notification settings - Fork 512
feat: support nested output paths #39
Comments
Use |
I'm hoping for multiple output paths (one for each entry bundle). So the output path is generic and then the filename for my javascript is |
Hey, Resurrecting an old ticket but I too am essentially wanting to have multiple output folders for my entry bundles. An example: Bundle A and Bundle B get output into |
Uh, yup. Just ran into the same dilemma. Bump 😃 |
Just an update to say that I've currently got around this issue by using |
Same here. I have a webpack configuration that needs to output to 2 different folders. I don't know what the implementation would involve, but it seems clear to me the right answer is either reuse |
it's a little hackish, but the most simple solution for me was adding some shell commands to my npm scripts. eg
|
I am working on a small project and already stumbled with this limitation. In my case, I want some code in the As a suggestion, this could be a way to specify it: entry: {
example: './src/examples/main.ts',
'my-lib': './src/my-lib.ts'
},
output: {
path: path.resolve(__dirname),
filenames: {
example: 'web/example.js',
'my-lib': 'dist/my-lib.js'
}
} @brandonmp solution has a major drawback: it is not portable, because Windows won't recognize the "mv" command. |
+1 |
I'm having an issue when dealing with multiple entry bundles. While I can specify the path for the css file output for each bundle all the fonts in my CSS are just dumped to the base output path.
The text was updated successfully, but these errors were encountered: