1 | import * as path from 'path'
|
2 |
|
3 | export default () => {
|
4 | return {
|
5 | plugins: [
|
6 |
|
7 | path.resolve(__dirname, 'platforms', 'weapp.js'),
|
8 | path.resolve(__dirname, 'platforms', 'tt.js'),
|
9 | path.resolve(__dirname, 'platforms', 'alipay.js'),
|
10 | path.resolve(__dirname, 'platforms', 'swan.js'),
|
11 | path.resolve(__dirname, 'platforms', 'jd.js'),
|
12 | path.resolve(__dirname, 'platforms', 'qq.js'),
|
13 | path.resolve(__dirname, 'platforms', 'quickapp.js'),
|
14 | path.resolve(__dirname, 'platforms', 'h5.js'),
|
15 | path.resolve(__dirname, 'platforms', 'rn.js'),
|
16 | path.resolve(__dirname, 'platforms', 'plugin.js'),
|
17 | path.resolve(__dirname, 'platforms', 'ui.js'),
|
18 |
|
19 |
|
20 | path.resolve(__dirname, 'commands', 'build.js'),
|
21 | path.resolve(__dirname, 'commands', 'init.js'),
|
22 | path.resolve(__dirname, 'commands', 'config.js'),
|
23 | path.resolve(__dirname, 'commands', 'create.js'),
|
24 | path.resolve(__dirname, 'commands', 'info.js'),
|
25 | path.resolve(__dirname, 'commands', 'doctor.js'),
|
26 | path.resolve(__dirname, 'commands', 'convert.js'),
|
27 | path.resolve(__dirname, 'commands', 'update.js'),
|
28 | path.resolve(__dirname, 'commands', 'inspect.js'),
|
29 |
|
30 |
|
31 | path.resolve(__dirname, 'files', 'writeFileToDist.js'),
|
32 | path.resolve(__dirname, 'files', 'generateProjectConfig.js'),
|
33 | path.resolve(__dirname, 'files', 'generateFrameworkInfo.js')
|
34 | ]
|
35 | }
|
36 | }
|