Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: info-loader.js

Issue 29549786: Issue 5535 - Replace our module system with webpack (Closed)
Patch Set: Avoid writing files when producing webpack bundles Created Oct. 2, 2017, 6:38 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | package.json » ('j') | package.json » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: info-loader.js
diff --git a/info-loader.js b/info-loader.js
new file mode 100644
index 0000000000000000000000000000000000000000..2d0abc90dc32210de0b2ddb63e6552e4043756ed
--- /dev/null
+++ b/info-loader.js
@@ -0,0 +1,18 @@
+/*
+ * This file is part of Adblock Plus <https://adblockplus.org/>,
+ * Copyright (C) 2006-present eyeo GmbH
+ *
+ * Adblock Plus is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 3 as
+ * published by the Free Software Foundation.
+ *
+ * Adblock Plus is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+module.exports = source => require("process").env.INFO_MODULE;
kzar 2017/10/02 18:48:33 While this does work, it also requires the lib/inf
« no previous file with comments | « no previous file | package.json » ('j') | package.json » ('J')

Powered by Google App Engine
This is Rietveld