-
Notifications
You must be signed in to change notification settings - Fork 9
How would I set the directive(s) in the webpack loader? #124
New issue
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
Comments
For example, in straight PostHTML I can do this:
How do I do this with The options don't seem to be able to include parser options. Also, webpack configs can get pretty convoluted, but I used a loader config with something like:
and that threw the "Invalid options object" error. I also tried several other configurations. Wrapping the "directives" in "config" threw the same error, while wrapping it in "config: { ctx }" didn't throw an error but still didn't show the PHP string. |
@trisys3 publish v2.0.0 |
Thanks so much, this is great! I'm sure other people would have requests for different options, and the |
All options are now being processed |
The options are processed, as there's no error anymore, but they don't seem to be used. At least |
Also, I can't seem to re-open, so can you please re-open if you can? Thanks. |
Nevermind, please ignore. This seems like an issue with |
I posted this in the gitter, but no one responded yet: How would I set the directive(s) in the webpack loader?
Originally posted by @trisys3 in posthtml/posthtml#328 (comment)
The text was updated successfully, but these errors were encountered: