-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
WIP: Add Markdown Plugin #3384
Conversation
type: 'png', | ||
assets: ['100x100.png'] | ||
} | ||
]); | ||
|
||
let files = await outputFS.readdir(path.join(__dirname, '/dist')); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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() { |
There was a problem hiding this comment.
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.
This PR seems inactive for a while, I can create another PR with the changes requested?! |
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 |
Closing in favor of the more complete #3936 |
↪️ Pull Request
This PR tries to add markdown plugin for transforms. Fixes #3357
💻 Examples
🚨 Test instructions
✔️ PR Todo