Need help with smash?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

mbostock
202 Stars 20 Forks Other 52 Commits 6 Opened issues

Description

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

Services available

!
?

Need anything else?

Contributors list

# 20
JavaScr...
Shell
Dart
visuali...
31 commits
# 24,933
vanilla...
Vanilla...
Electro...
dom-ele...
5 commits
# 2,686
OpenStr...
geojson
sidekiq
test-fr...
1 commit
# 111
JavaScr...
Dart
wordclo...
lodash
1 commit
# 17,009
JavaScr...
npm
mathjax
WPF
1 commit

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.