-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpnp-build.js
49 lines (39 loc) · 988 Bytes
/
pnp-build.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
const tasks = require("./build/tools/buildsystem").Tasks.Build,
path = require("path");
const defaultBuildPipeline = [
tasks.copyAssets,
tasks.copyPackageFile,
];
const config = {
packageRoot: path.resolve("./packages/"),
packageFile: path.resolve("./tsconfig.json"),
packageFileES5: path.resolve("./tsconfig.es5.json"),
tasks: [
tasks.buildProject,
tasks.buildProjectES5,
],
packages: [
"logging",
"common",
"odata",
"graph",
{
name: "sp",
buildPipeline: defaultBuildPipeline.slice(0).concat([tasks.replaceSPHttpVersion]),
},
"nodejs",
"sp-addinhelpers",
"config-store",
"pnpjs",
"sp-clientsvc",
"sp-taxonomy",
],
assets: [
"../../LICENSE",
"../readme.md",
"rollup.*.config.js",
"**/*.md"
],
buildPipeline: defaultBuildPipeline,
};
module.exports = config;