gulp-ng-annotate

JavaScript heap out of memory in angular js gulp sourcemap ngannonate with babel

一世执手 提交于 2019-12-04 06:57:49
问题 I am using es6 syntax in my angular JS project but it throws error when run gulp build , search over github and So but some saying this is error due to gulp uglify while some say this is babel issue and other say ng-annonate issue. ubuntu 14.04 node -v : 8.4.0 npm -v : 5.3.0 babel --version : 6.26.0 (babel-core 6.26.0) package.json { "name": "Project", "version": "0.0.0", "dependencies": { "gulp-open": "^2.0.0" }, "scripts": { "test": "gulp test" }, "devDependencies": { "babel": "^6.23.0",

JavaScript heap out of memory in angular js gulp sourcemap ngannonate with babel

杀马特。学长 韩版系。学妹 提交于 2019-12-02 07:39:17
I am using es6 syntax in my angular JS project but it throws error when run gulp build , search over github and So but some saying this is error due to gulp uglify while some say this is babel issue and other say ng-annonate issue. ubuntu 14.04 node -v : 8.4.0 npm -v : 5.3.0 babel --version : 6.26.0 (babel-core 6.26.0) package.json { "name": "Project", "version": "0.0.0", "dependencies": { "gulp-open": "^2.0.0" }, "scripts": { "test": "gulp test" }, "devDependencies": { "babel": "^6.23.0", "babel-core": "^6.25.0", "babel-preset-es2015": "^6.24.1", "browser-sync": "~2.9.11", "browser-sync-spa":