Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

mbostock/smash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMASH

SMASH DEPRECATED. DO ROLLUP INSTEAD.

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

About

SMASH TOGETHER MULTIPLE FILES [deprecated; try rollup/rollup]

Resources

License

Stars

Watchers

Forks

Packages

No packages published