1 | 'use strict'
|
2 |
|
3 | const path = require('path')
|
4 | const { rootPath } = require('../libs/utils')
|
5 |
|
6 | const resolveOwn = relativePath => path.resolve(__dirname, '..', relativePath)
|
7 |
|
8 | module.exports = {
|
9 | 'wx-assets': rootPath('src/wx/static'),
|
10 | 'wx-assets-dist': rootPath('wx-dist/static'),
|
11 | 'wx-dist': rootPath('wx-dist'),
|
12 | 'wx-src': rootPath('src/wx'),
|
13 | app: rootPath('.'),
|
14 | dotenv: rootPath('.env'),
|
15 | entries: 'src/view/*/index.@(ts|js)',
|
16 | libEntry: 'src/index.@(ts|js)',
|
17 | src: rootPath('src'),
|
18 | page: rootPath('src/view'),
|
19 | public: rootPath('public'),
|
20 | dist: rootPath('dist'),
|
21 |
|
22 | lib: rootPath('lib'),
|
23 | test: rootPath('test'),
|
24 | nodeModules: rootPath('node_modules'),
|
25 | packageJson: rootPath('package.json'),
|
26 |
|
27 | marauder: rootPath('marauder.config.js'),
|
28 | dll: rootPath('dll'),
|
29 |
|
30 | own: resolveOwn('.'),
|
31 | ownNodeModules: resolveOwn('node_modules'),
|
32 | ownPackageJson: resolveOwn('package.json')
|
33 | }
|