Skip to content

ShanonJackson/babel-plugin-qubic

Repository files navigation

babel-plugin-qubic

  • npm i --save-dev babel-plugin-qubic
  • plugins: ["babel-plugin-qubic"]

Why? Will aggressively tree shake your imports from qubic's separate tree shaking distribution.
will change import { Button } from "qubic" to import { Button } from "qubic/dist/export/button"
and all other exports.

Can handle any numbers of exports. Will error if it detects import * as XYZ from "qubic" syntax.

About

Tree shakes qubic-lib and qubic repositories and still allows imports from root.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published