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

resolver.options.loadPaths.unshift is not a function #74

Open
martenzander opened this issue Jul 18, 2017 · 2 comments
Open

resolver.options.loadPaths.unshift is not a function #74

martenzander opened this issue Jul 18, 2017 · 2 comments
Labels

Comments

@martenzander
Copy link

Trying to run postcss-assets I get the following error:

resolver.options.loadPaths.unshift is not a function

my config:

postcss-assets : { relative : 'public/assets/css', basePath: 'src/scss', loadPaths: 'public/assets/img' }

@borodean borodean added the bug label Jul 18, 2017
@shenzhim
Copy link

loadPaths should be an array

try this:
loadPaths: ['public/assets/img']

@borodean
Copy link
Owner

@shenzhim I'm pretty sure globs were allowed at some stage of development.

Don't have much time finding the issue at the moment. Would appreciate a PR though.

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

No branches or pull requests

3 participants