Skip to content

Commit 0a38963

Browse files
committed
use vendor in tasks
1 parent bd3f44a commit 0a38963

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

tasks/preprocess.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ function makeBuildCSS() {
2424
});
2525
}
2626

27-
// copy topojson files from sane-topojson to dist/
27+
// copy topojson files from sane-topojson to vendor/
2828
function copyTopojsonFiles() {
2929
fs.copy(
3030
constants.pathToTopojsonSrc,
31-
constants.pathToTopojsonDist,
31+
constants.pathToTopojsonVendor,
3232
{ clobber: true },
3333
common.throwOnError
3434
);

tasks/util/constants.js

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ var pathToSrc = path.join(pathToRoot, 'src/');
66
var pathToLib = path.join(pathToRoot, 'lib/');
77
var pathToImageTest = path.join(pathToRoot, 'test/image');
88
var pathToStrictD3Module = path.join(pathToRoot, 'test/strict-d3.js');
9+
var pathToVendor = path.join(pathToRoot, 'vendor/');
910
var pathToDist = path.join(pathToRoot, 'dist/');
1011
var pathToBuild = path.join(pathToRoot, 'build/');
1112

@@ -44,6 +45,7 @@ module.exports = {
4445
pathToSrc: pathToSrc,
4546
pathToLib: pathToLib,
4647
pathToBuild: pathToBuild,
48+
pathToVendor: pathToVendor,
4749
pathToDist: pathToDist,
4850

4951
pathToPlotlyIndex: path.join(pathToLib, 'index.js'),
@@ -62,6 +64,7 @@ module.exports = {
6264

6365
pathToTopojsonSrc: pathToTopojsonSrc,
6466
pathToTopojsonDist: path.join(pathToDist, 'topojson/'),
67+
pathToTopojsonVendor: path.join(pathToVendor, 'topojson/'),
6568
pathToPlotlyGeoAssetsSrc: path.join(pathToSrc, 'assets/geo_assets.js'),
6669
pathToPlotlyGeoAssetsDist: path.join(pathToDist, 'plotly-geo-assets.js'),
6770

0 commit comments

Comments
 (0)