Skip to content

Commit

Permalink
feat: Add docsify version to $window.docsify object (#641)
Browse files Browse the repository at this point in the history
Fix #521

Please makes sure these boxes are checked before submitting your PR, thank you!

* [ x ] Make sure you are merging your commits to `master` branch.
* [ x ] Add some descriptions and refer relative issues for you PR.
* [ x ] DO NOT include files inside `lib` directory.
  • Loading branch information
jhildenbiddle authored and QingWei-Li committed Oct 23, 2018
1 parent 9e86017 commit 94bc415
Show file tree
Hide file tree
Showing 4 changed files with 4,032 additions and 4,071 deletions.
2 changes: 2 additions & 0 deletions build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ const isProd = process.env.NODE_ENV === 'production'
const version = process.env.VERSION || require('../package.json').version
const chokidar = require('chokidar')
const path = require('path')
const json = require('rollup-plugin-json')

const build = function(opts) {
rollup
.rollup({
input: opts.input,
plugins: (opts.plugins || []).concat([
json(),
buble(),
commonjs(),
nodeResolve(),
Expand Down
Loading

0 comments on commit 94bc415

Please sign in to comment.