Open pickfire opened 5 years ago
yeah. create a file pug_loader.js and copy the code from the README.md.
let me know if there's anything unclear with that.
no not at all. just copy the code from the README into your project. https://github.com/aep/pug-rs#with-webpack
No, I don't mean for my project. I saw projects that do not need to modify their webpack config but just install a plugin to use it such as https://github.com/pugjs/pug-loader. I was just wondering if there could be such option so that people can just add this as a dependency and just use it without modifying anything.
that would require publishing to npm. I have no plans on doing that, but contributions welcome :)
@aep If I were to help to create the NPM package. I have some parts not clear.
btw zz creates npm packages automatically. i'll probably rewrite this in zz anyway when i get around to doing webstuff
Is it possible to have a webpack loader using
pug-rs
?