Skip to content

Commit

Permalink
chore: upgrade deps (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
QingWei-Li committed Feb 11, 2018
1 parent b073dd3 commit 95836b6
Show file tree
Hide file tree
Showing 4 changed files with 4,020 additions and 1,806 deletions.
4 changes: 2 additions & 2 deletions build/build-ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var replace = require('rollup-plugin-replace')

rollup
.rollup({
entry: 'packages/docsify-server-renderer/index.js',
input: 'packages/docsify-server-renderer/index.js',
plugins: [
async(),
replace({
Expand All @@ -25,7 +25,7 @@ rollup
console.log(dest)
bundle.write({
format: 'cjs',
dest: dest
file: dest
})
})
.catch(function (err) {
Expand Down
5 changes: 3 additions & 2 deletions build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var version = process.env.VERSION || require('../package.json').version
var build = function (opts) {
rollup
.rollup({
entry: 'src/' + opts.entry,
input: 'src/' + opts.entry,
plugins: (opts.plugins || []).concat([
string({ include: '**/*.css' }),
buble(),
Expand All @@ -28,7 +28,8 @@ var build = function (opts) {
console.log(dest)
bundle.write({
format: 'iife',
dest: dest
file: dest,
strict: false
})
})
.catch(function (err) {
Expand Down
Loading

0 comments on commit 95836b6

Please sign in to comment.