Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 430 Bytes

readme.md

File metadata and controls

14 lines (11 loc) · 430 Bytes

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.