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

# 9
JavaScr...
Shell
Dart
visuali...
31 commits
# 27,303
vanilla...
Vanilla...
dom-ele...
Express
5 commits
# 2,703
geojson
mapbox-...
sidekiq
test-fr...
1 commit
# 55
JavaScr...
Dart
wordclo...
lodash
1 commit
# 11,128
C++
Shell
npm
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.