We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't find a way to have postcss-copy works with pure node. Here is my code:
let postcss = require('postcss'); postcss({ plugins: [ require('postcss-copy')({ dest: 'dist', basePath: '.' }) ] }).process('.foo{background-image: url(./foo.png);}').then(function(data) { console.warn(data); });
foo.png is present in '.' and is not copied to 'dist', Plus, postcss returns a warning in its output:
[ Warning { type: 'warning', text: 'Path must be a string. Received undefined', line: 1, column: 6, node: [Object], plugin: 'postcss-copy' } ],
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I can't find a way to have postcss-copy works with pure node. Here is my code:
foo.png is present in '.' and is not copied to 'dist', Plus, postcss returns a warning in its output:
What am I doing wrong?
The text was updated successfully, but these errors were encountered: