Webpack support
whisper-bye opened this issue · 4 comments
env: with npm and webpack
I don't know what to do to solve the problem
WARNING in .//mdast-github/index.js/mdast-github/index.js 368:19-370:14
Critical dependencies:
368:19-370:14 the request of a dependency is an expression
@ ./
WARNING in .//mdast-github/LICENSE/mdast-github ^./.*$
Module parse failed: /Users/user-mac/Desktop/workspace/test/www/node_modules/mdast-github/LICENSE Line 1: Unexpected identifier
You may need an appropriate loader to handle this file type.
| (The MIT License)
|
| Copyright (c) 2015 Titus Wormer tituswormer@gmail.com
@ ./
WARNING in .//mdast-github/history.md/mdast-github ^./.*$
Module parse failed: /Users/user-mac/Desktop/workspace/test/www/node_modules/mdast-github/history.md Line 7: Unexpected number
You may need an appropriate loader to handle this file type.
|
|
| 1.0.0 / 2015-08-19
| ==================
|
@ ./
WARNING in .//mdast-github/package.json/mdast-github ^./.*$
Module parse failed: /Users/user-mac/Desktop/workspace/test/www/node_modules/mdast-github/package.json Line 2: Unexpected token :
You may need an appropriate loader to handle this file type.
| {
| "_args": [
| [
| "mdast-github",
@ ./
WARNING in .//mdast-github/readme.md/mdast-github ^./.*$
Module parse failed: /Users/user-mac/Desktop/workspace/test/www/node_modules/mdast-github/readme.md Line 1: Unexpected token ILLEGAL
You may need an appropriate loader to handle this file type.
| # mdast-github
|
| Auto-link references to commits, issues, pull-requests, and users like GitHub: Writing on GitHub.
@ ./
webpack: bundle is now VALID.
webpack: bundle is now INVALID.
Hash: e08bf16a6fc25d471f1f
Version: webpack 1.12.9
Time: 346ms
This is something relating to webpack. Check out these docs: https://github.com/webpack/docs/wiki/webpack-for-browserify-users#ignore-missing.
As I understand from them, you can ignore these warnings.
@wooorm
one more thing, how to parse gfm style task lists by using mdast-html, the output looks like general lists
input:
- [ ] Incomplete task list item
- [x] **Completed** task list item
output:
- Incomplete task list item
- Completed task list item
Seems so. It’s not yet implemented in mdast-html. If you’d like to get this, please raise an issue on mdast-html’s repo.
I'm giving up...