kentcdodds / babel-plugin-macros

🎣 Allows you to build simple compile-time libraries
https://npm.im/babel-plugin-macros
MIT License
2.62k stars 135 forks source link

Add test for macro in the scoped npm package #180

Closed sergeysova closed 2 years ago

sergeysova commented 3 years ago

What: No changes, just one more test.

Why:

How:

Checklist:

conartist6 commented 3 years ago

Instead of trying to work around limitations of the runner, why not just use a really simple macro implementation. Toss the implementation in src/__tests__/fixtures/ and then you can reexport that implementation in your scoped package.

conartist6 commented 3 years ago

Also I guess I need to fix the build...

conartist6 commented 2 years ago

@sergeysova Could you rebase this onto main? We've fixed the build.