use same alias file

This commit is contained in:
Evan You 2016-08-28 10:42:10 -04:00
parent 1932b8f5fa
commit 72710db4f4

View File

@ -12,16 +12,7 @@ const banner =
' * Released under the MIT License.\n' +
' */'
const baseAlias = {
vue: path.resolve(__dirname, '../src/entries/web-runtime-with-compiler'),
compiler: path.resolve(__dirname, '../src/compiler'),
core: path.resolve(__dirname, '../src/core'),
shared: path.resolve(__dirname, '../src/shared'),
web: path.resolve(__dirname, '../src/platforms/web'),
server: path.resolve(__dirname, '../src/server'),
entries: path.resolve(__dirname, '../src/entries'),
sfc: path.resolve(__dirname, '../src/sfc')
}
const baseAlias = require('./alias')
const builds = {
// Runtime only (CommonJS). Used by bundlers e.g. Webpack & Browserify