vue/scripts/alias.js

16 lines
441 B
JavaScript
Raw Normal View History

2016-08-28 09:13:55 +08:00
const path = require('path')
2017-09-12 01:16:34 +08:00
const resolve = p => path.resolve(__dirname, '../', p)
2016-08-28 09:13:55 +08:00
module.exports = {
2017-09-12 01:16:34 +08:00
vue: resolve('src/platforms/web/entry-runtime-with-compiler'),
compiler: resolve('src/compiler'),
core: resolve('src/core'),
shared: resolve('src/shared'),
web: resolve('src/platforms/web'),
weex: resolve('src/platforms/weex'),
server: resolve('src/server'),
entries: resolve('src/entries'),
sfc: resolve('src/sfc')
2016-08-28 09:13:55 +08:00
}