Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardlink #103

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions gobblefile.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


var gobble = require('gobble');
var src = gobble('src');
var src = gobble('src').transform('hardlink');


// Run rollup on the web worker code, in order to include GeoJSON-vt and TopoJSON into it.
Expand Down Expand Up @@ -44,8 +44,8 @@ var uglifiedWebWorker = src.transform('rollup', {
});

// Get the rolled-up worker code back next to the same directory as the main code
var src2 = gobble([src, concatenatedWebWorker]);
var src2uglified = gobble([src, uglifiedWebWorker]);
var src2 = gobble([src, concatenatedWebWorker]).transform('hardlink');
var src2uglified = gobble([src, uglifiedWebWorker]).transform('hardlink');


// We'll run rollup four times, with slightly different options and using different
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"geojson-vt": "^2.2.0",
"gobble": "^0.11.3",
"gobble-cli": "^0.7.0",
"gobble-hardlink": "^0.2.0",
"gobble-leafdoc": "^0.1.8",
"gobble-rollup": "^0.36.0",
"rollup-plugin-buble": "^0.14.0",
Expand Down