vue/scripts/alias.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
403 B
JavaScript
Raw Normal View History

2016-08-28 01:13:55 +00:00
const path = require('path')
2017-09-11 17:16:34 +00:00
const resolve = p => path.resolve(__dirname, '../', p)
2016-08-28 01:13:55 +00:00
module.exports = {
2017-09-11 17:16:34 +00: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'),
2022-05-31 07:32:44 +00:00
server: resolve('packages/server-renderer/src'),
2022-06-06 07:34:55 +00:00
sfc: resolve('packages/compiler-sfc/src')
2016-08-28 01:13:55 +00:00
}