-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathvfs.js
95 lines (92 loc) · 2.9 KB
/
vfs.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
const virtualfs = require("virtualfs");
// Setup the virtual file system.
const fs = new virtualfs.VirtualFS();
fs.mkdirpSync("third_party/todomvc/react");
fs.writeFileSync(
"third_party/angular-material-1.1.8.css",
require("raw-loader!../third_party/angular-material-1.1.8.css")
);
fs.writeFileSync(
"third_party/backbone-1.1.0.js",
require("raw-loader!../third_party/backbone-1.1.0.js")
);
fs.writeFileSync(
"third_party/bootstrap-4.0.0.css",
require("raw-loader!../third_party/bootstrap-4.0.0.css")
);
fs.writeFileSync(
"third_party/foundation-6.4.2.css",
require("raw-loader!../third_party/foundation-6.4.2.css")
);
fs.writeFileSync(
"third_party/jquery-3.2.1.js",
require("raw-loader!../third_party/jquery-3.2.1.js")
);
fs.writeFileSync(
"third_party/coffeescript-lexer-2.0.1.coffee",
require("raw-loader!../third_party/coffeescript-lexer-2.0.1.coffee")
);
fs.writeFileSync(
"third_party/lodash.core-4.17.4.js",
require("raw-loader!../third_party/lodash.core-4.17.4.js")
);
fs.writeFileSync(
"third_party/lodash.min-4.17.4.js.map",
require("raw-loader!../third_party/lodash.min-4.17.4.js.map")
);
fs.writeFileSync(
"third_party/mootools-core-1.6.0.js",
require("raw-loader!../third_party/mootools-core-1.6.0.js")
);
fs.writeFileSync(
"third_party/preact-8.2.5.js",
require("raw-loader!../third_party/preact-8.2.5.js")
);
fs.writeFileSync(
"third_party/preact-8.2.5.js.map",
require("raw-loader!../third_party/preact-8.2.5.js.map")
);
fs.writeFileSync(
"third_party/redux.min-3.7.2.js",
require("raw-loader!../third_party/redux.min-3.7.2.js")
);
fs.writeFileSync(
"third_party/source-map.min-0.5.7.js.map",
require("raw-loader!../third_party/source-map.min-0.5.7.js.map")
);
fs.writeFileSync(
"third_party/speedometer-es2015-test-2.0.js",
require("raw-loader!../third_party/speedometer-es2015-test-2.0.js")
);
fs.writeFileSync(
"third_party/todomvc/react/app.jsx",
require("raw-loader!../third_party/todomvc/react/app.jsx")
);
fs.writeFileSync(
"third_party/todomvc/react/footer.jsx",
require("raw-loader!../third_party/todomvc/react/footer.jsx")
);
fs.writeFileSync(
"third_party/todomvc/react/todoItem.jsx",
require("raw-loader!../third_party/todomvc/react/todoItem.jsx")
);
fs.writeFileSync(
"third_party/todomvc/typescript-angular.ts",
require("raw-loader!../third_party/todomvc/typescript-angular.ts")
);
fs.writeFileSync(
"third_party/underscore-1.8.3.js",
require("raw-loader!../third_party/underscore-1.8.3.js")
);
fs.writeFileSync(
"third_party/underscore.min-1.8.3.js.map",
require("raw-loader!../third_party/underscore.min-1.8.3.js.map")
);
fs.writeFileSync(
"third_party/vue.runtime.esm-nobuble-2.4.4.js",
require("raw-loader!../third_party/vue.runtime.esm-nobuble-2.4.4.js")
);
module.exports = fs;