Closed necolas closed 10 years ago
You can specify the dir
option to rework-npm
to tell it where the initial file lives. It really should actually find that from the position information right in the AST, but for now you can specify it manually.
Closing. Applied in c5acd23fd442dd39261e7a7e230f10257d1e46ab
Introduces the ability to inline
@import
statements, run conformance checks on individual files, and to inline CSS files installed with npm.An issue I'd like input on is how to pass the rework-npm options (or a subset) into this plugin bundle. The changeset shows how I've had to use the path from the repo root, rather than relative to the initial entry file (because rework-npm doesn't know where the entry file lives). Any ideas for a nice solution? cc @conradz
Fix gh-10