I'm new to webpack, and I need a hand in setting up to generate sourcemaps. I'm running webpack serve from the command line, which compiles successfully. But I really need sourcemaps. This is my webpack.config.js.  var webpack = require(...
I have ANT script which compresses .js files into their own files, but i want to compress all .js files into one .js file.   How to make it work using below ANT script.  <echo message="Compressing Javascript files at location: ${build.root}/re...
Just upgraded to Sencha Touch 2.3 - everything is great until I added my Sass mixins, and tried "sencha app build"...   update / note:   "sencha app watch" also causes the same error.  (Sencha CMD 4.0.1.45)  My mixin:  @mixin MQ($canv...
I've got a project with several files called setup.js in various sub folders in my /src folder. I'd like a gulp task to copy all the setup.js files to a /dist folder and preserve the sub folder structure. This part is easy.   The tricky part...
I see a lot of newer Maven plugins for JavaScript require NodeJS to be installed on the machine where the build takes place (both local and CI servers).  For example: yeoman-maven-plugin, npm-maven-plugin, etc.  The question is: Does it make sense to...
I have a custom node script that generates a pseudo language file, in older angular.js projects I used a gulp task to run the script as part of the build process. Is there a way to modify angular-cli to run the script on ng build/ng serve? I know I c...
I have a huge web app in Javascript and its starting to become something of a hassle to manage everything. I broke everything up into little files each with their own subsection of the app.   eg. if the app is named "myApp" I have a file call...
I'm building a pretty big script in javascript and I wrap it in an anonymous function so it won't be in the global outer space. This should be implemented on multiple sites as a service that don't need any public api for the time being (a...
I noticed there is a big discussion about what is the best build tool e.g. Grunt, Gulp, Webpack, etc. I first opted for Gulp, I read its documentation and started making my first gulpfile.js and it worked I started improving it with the time  But I a...
During my Grunt build process, I would like to set the script tag in my index.html which references the Google Maps API dynamically based on process.env.NODE_ENV. Something like:  let googleMapsUrl;  if (process.env.NODE_ENV === 'development'...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.