Skip to content

Commit b0088b1

Browse files
committed
update index files to support preprocess task
1 parent b944ec9 commit b0088b1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/assets/geo_assets.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
var saneTopojson = require('sane-topojson');
1212

1313

14-
// export the version found in the package.json
15-
exports.version = require('../../package.json').version;
14+
// package version injected by `npm run preprocess`
15+
exports.version = '1.4.1';
1616

1717
exports.topojson = saneTopojson;

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
var Plotly = require('./plotly');
1919

20-
// export the version found in the package.json
21-
exports.version = require('../package.json').version;
20+
// package version injected by `npm run preprocess`
21+
exports.version = '1.4.1';
2222

2323
// plot api
2424
exports.plot = Plotly.plot;

0 commit comments

Comments
 (0)