mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: add comment to changed "require"
This commit is contained in:
@@ -5,7 +5,10 @@
|
|||||||
// Code distributed by Google as part of the polymer project is also
|
// Code distributed by Google as part of the polymer project is also
|
||||||
// subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
// subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
||||||
|
|
||||||
|
// Hack to resolve https://github.com/webpack/enhanced-resolve/issues/197 .
|
||||||
|
// This issue causes an require like this (`../esprima`) to be resolved to (`esprima`) by the Angular webpack plugin
|
||||||
var esprima = require("../../js-libs/esprima").esprima;
|
var esprima = require("../../js-libs/esprima").esprima;
|
||||||
|
|
||||||
var Path = require("./path-parser").Path;
|
var Path = require("./path-parser").Path;
|
||||||
|
|
||||||
(function (global) {
|
(function (global) {
|
||||||
|
|||||||
Reference in New Issue
Block a user