##// END OF EJS Templates
release: Finish preparation for 4.25.2
release: Finish preparation for 4.25.2

File last commit:

r4017:da40b4bb default
r4694:27475bd8 v4.25.2 stable
Show More
Gruntfile.js
22 lines | 816 B | application/javascript | JavascriptLexer
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 var gruntConfig = require('./grunt_config.json');
frontend: use webpack instead of vulcanize
r3171 var webpackConfig = require('./webpack.config');
gruntConfig["webpack"] = {
options: {
stats: !process.env.NODE_ENV || process.env.NODE_ENV === 'development'
},
prod: webpackConfig,
dev: Object.assign({ watch: false }, webpackConfig)
};
project: added all source files and assets
r1
grunt: config lives in separate json file so we can easly import and manipulate it when required
r745 module.exports = function(grunt) {
grunt.initConfig(gruntConfig);
project: added all source files and assets
r1
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-concat');
js: produce minimized JS file as well as bundle
r4017 grunt.loadNpmTasks('grunt-contrib-uglify');
project: added all source files and assets
r1 grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-jshint');
polymer: introduce webcomponents to rhodecode
r689 grunt.loadNpmTasks('grunt-contrib-copy');
frontend: use webpack instead of vulcanize
r3171 grunt.loadNpmTasks('grunt-webpack');
js: produce minimized JS file as well as bundle
r4017 grunt.registerTask('default', ['less:production', 'less:components', 'copy', 'webpack', 'concat:dist', 'uglify:dist']);
project: added all source files and assets
r1 };