• Nick Stenning's avatar
    Embed release version in built package · af954a8a
    Nick Stenning authored
    Rather than relying on the release version being passed in as config,
    build the current release version (as read from `package.json`) into the
    bundle.
    
    We use browserify-versionify for this, rather than simply requiring
    `package.json`, as our current build toolchain does not support any kind
    of tree-shaking, so `require('package.json')` would pull the whole of
    the `package.json` file into the bundle.
    af954a8a
Name
Last commit
Last update
.github Loading commit data...
h Loading commit data...
images Loading commit data...
scripts Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
npm-shrinkwrap.json Loading commit data...
package.json Loading commit data...