sindresorhus/refined-github


Do you want to work on this issue?
You can request for a bounty in order to promote it!
Write Webpack loader for readme.md #4320
fregante posted onGitHub
I think we’re parsing readme.md the wrong way. Instead of asking webpack to replace magic variables we parse and handle manually, we should be able to write import featuresInfo from './readme.md'
and have a loader parse and keep track of the file as part of the dependency graph (as originally discussed in https://github.com/sindresorhus/refined-github/pull/3678)
We still need to “parse” refined-GitHub.ts to get the list of active features, but maybe there’s a solution to that too (separately)