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
It works right now, but isn't mentioned anywhere.
The text was updated successfully, but these errors were encountered:
It cannot... 🤔
There is the documented parameter for the output file and there is one undocumented parameter for passing a fileType string.
The fileType parameter is merely there for backwards-compatibility to early v1.0-alpha versions of webpack-blocks.
Maybe you have been looking at the code of an outdated extract-text block version?
Sorry, something went wrong.
The ETP takes 1 argument that is either a filename (as a string) or an options object. Currently the block supports both syntaxes – extractText('file.css') and extractText({filename: 'file.css', allChunks: true}) – (see the source code) but only the first usage is documented.
filename
extractText('file.css')
extractText({filename: 'file.css', allChunks: true})
Ahhh, now I get what you mean :)
No branches or pull requests
It works right now, but isn't mentioned anywhere.
The text was updated successfully, but these errors were encountered: