Browse Source

update build

dev
Evan You 9 years ago
parent
commit
1b8ef949a1
  1. 5
      build/build.js
  2. 3
      circle.yml

5
build/build.js

@ -1,4 +1,5 @@
var fs = require('fs')
var path = require('path')
var zlib = require('zlib')
var rollup = require('rollup')
var uglify = require('uglify-js')
@ -8,6 +9,10 @@ var aliasPlugin = require('rollup-plugin-alias')
var baseAlias = require('./alias')
var version = process.env.VERSION || require('../package.json').version
if (!fs.existsSync('dist')) {
fs.mkdirSync('dist')
}
var banner =
'/*!\n' +
' * Vue.js v' + version + '\n' +

3
circle.yml

@ -5,9 +5,10 @@ machine:
general:
branches:
only:
- master
- next
test:
override:
- npm run lint
- npm run test:cover # only run unit tests in Phantom for now before we setup SauceLabs
- npm run test:ssr

Loading…
Cancel
Save