Having the darnedest time trying to figure out why minification is not working.  I have injected via an array object my providers prior the function per numerous suggestions across the web and yet still "Unknown provider: aProvider <- a"...
I was wondering, since Clojure Compiler and UglifyJS not only optimize code for size but also for performance (although I think size is the main priority), would my node.js app run faster if it was minified ? I know it may depend from app, but I'...
When I use gulp-uglify to minify the Javascript files the order gets messed up.  Lets say I have this task working as expected:  var gulp = require('gulp'); var rename = require('gulp-rename'); var gp_concat = require('gulp-concat...
Im stressed trying to make Uglify working with my project, previously I have used Uglify and was not giving problems but now I think that is SASS related.  ERROR in ./~/css-loader!./~/sass-loader!./app/scss/global-header.scss     Module build failed:...
Here i am creating application to compress a javascript file  Steps i made,   Installed nodeJS in my local machine checked node and npm is working Installed "uglify-js" by "npm install uglify-js -g" and installed When i try to run by...
I am trying to remove copyright comments from my optimized script files. We are using RequireJS with the default UglifierJS. I looked into Uglifier which in itself has a flag called -nc or --no-comments, but it does not seem like RequireJS lets you s...
I'm writing an app that uses many JS files. Underscore, Backbone, jQuery, jQuery plugins for sliders, several files for models, routers, collections and views.  In my dev machine, I load every file separately, but in production I use only one JS...
I'm using gruntjs (which uses uglifyjs) to build my Angularjs app. But uglifyjs still does not support es6, so in corresponding GitHub issue i found this. So now there is uglify-es, which seemingly supports es6. But I'm not sure how to integr...
I'm new to gulp and have run into a problem which probably is a pretty common scenario. What I'm trying todo is compiling typescript into javascript, creating a sourcemap for it and then running uglify. I would like to have a sourcemap for th...
My production webpack configuration is:  {   output: {     publicPath: "https://cdn.example.com/sub-directory/",     filename: '[name]-[chunkhash].min.js'   },    devtool: 'source-map',    plugins: [     new webpack.optimize.U...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.