Skip to content
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

WIP: Add Markdown Plugin #3384

Conversation

JosephMart
Copy link

↪️ Pull Request

This PR tries to add markdown plugin for transforms. Fixes #3357

💻 Examples

🚨 Test instructions

✔️ PR Todo

  • Added/updated unit tests for this change
  • Filled out test instructions (In case there aren't any unit tests)
  • Included links to related issues/PRs

type: 'png',
assets: ['100x100.png']
}
]);

let files = await outputFS.readdir(path.join(__dirname, '/dist'));
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test fails at this line with

FSError: ENOENT: /..../parcel/packages/core/integration-tests/test/dist does not exist

Where exactly is the output supposed to be? Is the the Markdown Plugin I converted not configured properly? Thoughts?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should use the distDir variable from @parcel/test-utils here instead.

describe.skip('markdown', function() {
it('should support bundling Markdown', async function() {
describe('markdown', function() {
it.only('should support bundling Markdown', async function() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing I have also found helpful is using the --grep feature in mocha to regex to the specific test I want to run.

@Taym95
Copy link
Contributor

Taym95 commented Sep 11, 2019

This PR seems inactive for a while, I can create another PR with the changes requested?!

@mischnic
Copy link
Member

I think the main blocker for a Markdown plugin is what the output format should be (html, raw, a react component), related to that: #3477

@mischnic mischnic mentioned this pull request Dec 24, 2019
3 tasks
@DeMoorJasper
Copy link
Member

Closing in favor of the more complete #3936

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parcel 2: Markdown transformer
6 participants