Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Output assets to distribution dir #59

Open
oojacoboo opened this issue Oct 11, 2016 · 1 comment
Open

Output assets to distribution dir #59

oojacoboo opened this issue Oct 11, 2016 · 1 comment

Comments

@oojacoboo
Copy link

So, I'm trying to figure out how to output the assets processed by postcss-assets to another directory, the dist directory.

I'm assuming this isn't the purpose of this plugin and that I'll need to pipe the output to another plugin possibly. I'm currently using the static-render-webpack-plugin webpack plugin which handles most of this including, through the file-loader, required assets.

Am I correct in assuming that postcss-assets doesn't work in this fashion, and assuming not, can you please point me in the correct direction on how to chain another plugin that can take the path generated from this plugin to output the files in a dist dir? Thanks.

@oojacoboo
Copy link
Author

oojacoboo commented Oct 11, 2016

You would know, the next search I make I'd happen on something. I think this is the ticket...

https://github.com/devex-web-frontend/postcss-assets-rebase

If so, it'd be great if you could include this information within your readme.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants