mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix: change the way we import 'esprima' to avoid wrong path resolution in Angular projects
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
// 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
|
||||||
|
|
||||||
var esprima = require("../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