smash

    0.0.15 • Public • Published

    SMASH

    SMASH TOGETHER FILES! PROBABLY JAVASCRIPT.

    SAY THIS foo.js:

    import "bar";
     
    function foo() {
      return "foo" + bar();
    }

    AND THIS bar.js:

    function bar() {
      return "bar";
    }

    WHEN SMASH TOGETHER foo.js AND bar.js:

    function bar() {
      return "bar";
    }
     
    function foo() {
      return "foo" + bar();
    }

    SMASH HANDLE CIRCULAR AND REDUNDANT IMPORTS GOOD. SMASH GOOD. SMASH.

    SMASH LIKE MAKE, TOO.

    bundle.js: $(shell smash --list src/bundle.js)
      smash src/bundle.js > bundle.js

    Keywords

    Install

    npm i smash

    DownloadsWeekly Downloads

    395

    Version

    0.0.15

    License

    none

    Last publish

    Collaborators

    • mbostock