orenelbaum / babel-plugin-solid-undestructure

A Babel plugin for SolidJS that allows you to destructure component props without losing reactivity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change the macro import path to a dedicated empty npm package

orenelbaum opened this issue · comments

Right now the component CTF is imported from "babel-plugin-solid-undestructure".
I think that this exposes a risk that the Babel plugin itself will be sent to the client.
Therefore I want to change the import path to something like "undestructure-macros".
I'll create an npm package which doesn't have any code other than code that throws an error.
Once I implement that I'll update the version to 1.0 and I'll consider the plugin production ready.
Of course if anyone wants to make a PR you're welcome to do so.