OLD | NEW |
1 /* | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * Copyright (C) 2006-present eyeo GmbH | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 * | |
5 * Adblock Plus is free software: you can redistribute it and/or modify | |
6 * it under the terms of the GNU General Public License version 3 as | |
7 * published by the Free Software Foundation. | |
8 * | |
9 * Adblock Plus is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License | |
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | |
16 */ | |
17 | 4 |
18 "use strict"; | 5 "use strict"; |
19 | 6 |
20 const path = require("path"); | 7 const path = require("path"); |
21 const process = require("process"); | 8 const process = require("process"); |
22 | 9 |
23 const MemoryFS = require("memory-fs"); | 10 const MemoryFS = require("memory-fs"); |
24 const webpack = require("webpack"); | 11 const webpack = require("webpack"); |
25 | 12 |
26 // We read the configuration from STDIN rather than as an argument to improve | 13 // We read the configuration from STDIN rather than as an argument to improve |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 included.add(path.relative(extension_path, module.name)); | 149 included.add(path.relative(extension_path, module.name)); |
163 } | 150 } |
164 } | 151 } |
165 } | 152 } |
166 output.included = Array.from(included); | 153 output.included = Array.from(included); |
167 | 154 |
168 console.log(JSON.stringify(output)); | 155 console.log(JSON.stringify(output)); |
169 } | 156 } |
170 }); | 157 }); |
171 }); | 158 }); |
OLD | NEW |