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
Map
Details
The Map option is defined in the README and the index.d.ts as only accepting string | false.
string | false
However, there is an option for an object as defined in the postcss.d.ts.
Can the postcss-load-config definition file be updated to reflect the definition from the postcss file?
Error (Logs|Stacks)
Linting errors from the editor (VSCode).
Type '{ inline: false; annotation: true; sourcesContent: true; }' is not assignable to type 'string | false | undefined'.
Reproduction (Code)
Create a postcss.config.ts file.
postcss.config.ts
import { Config } from "postcss-load-config"; const config: Config = { map: { inline: false, annotation: true, sourcesContent: true, }, plugins: [require("autoprefixer")], }; export default config;
$ git clone https://github.com/<user>/<sample>
Environment
The text was updated successfully, but these errors were encountered:
Can you send PR?
Sorry, something went wrong.
I can do that, yes. I will try to have something in by the beginning of next week.
No branches or pull requests
Details
The
Map
option is defined in the README and the index.d.ts as only acceptingstring | false
.However, there is an option for an object as defined in the postcss.d.ts.
Can the postcss-load-config definition file be updated to reflect the definition from the postcss file?
Error (Logs|Stacks)
Linting errors from the editor (VSCode).
Reproduction (Code)
Create a
postcss.config.ts
file.Environment
The text was updated successfully, but these errors were encountered: