Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix loader syntax in README #8

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

Merged
mattlewis92 merged 1 commit into htmlhint:master from jaythomas:update-readme
Apr 24, 2017
Merged

Fix loader syntax in README #8

mattlewis92 merged 1 commit into htmlhint:master from jaythomas:update-readme
Apr 24, 2017

Conversation

@jaythomas
Copy link
Contributor

@jaythomas jaythomas commented Apr 24, 2017

(Howdy again from the states!)

An issue I ran into while migrating my projects to Webpack 2 is that it does not auto-append -loader to the loader's name as Webpack 1 did. This means that Webpack will try to load htmlhint itself from node_modules as the loader instead of htmlhint-loader, giving off an error message like:

Error: Module '/home/lite/code/Webtrader/node_modules/htmlhint/index.js' is not a loader (must have normal or pitch function)

I tested that the syntax loader: 'htmlhint-loader' works just the same on Webpack 1.6 as it does Webpack 2.4, so I think the readme example should reflect that. Let me know if I am missing something, and thanks for one of your many great tools!

Copy link

codecov-io commented Apr 24, 2017
edited
Loading

Codecov Report

Merging #8 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@ Coverage Diff @@
## master #8 +/- ##
=======================================
 Coverage 88.05% 88.05% 
=======================================
 Files 1 1 
 Lines 67 67 
=======================================
 Hits 59 59 
 Misses 8 8

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e66e738...4909bfa. Read the comment docs.

@mattlewis92 mattlewis92 merged commit edbe992 into htmlhint:master Apr 24, 2017
Copy link
Member

Nice one, thanks Jay! 👍🏻

@jaythomas jaythomas deleted the update-readme branch April 24, 2017 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /