bebraw / bebraw/html-webpack-remark-plugin

Suggestion use a loader instead of a plugin

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The version 2 of the html-webpack-plugin was introduced to feature this requirement.
Instead of just compiling ejs it uses a webpack child compiler.

Usage:

``` html
<%= require('remark-loader!README.md'); %>
```

However there are two issues:
- The extract text plugin has some issues if your readme would directly require css
- The readme is "hardcoded" and you would have to think of a way to make it customizable.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.