Skip to:
Content

BuddyPress.org

Ticket #8290: 8290.patch

File 8290.patch, 2.2 KB (added by imath, 5 years ago)
  • Gruntfile.js

    diff --git Gruntfile.js Gruntfile.js
    index 3b4086743..62de51708 100644
    module.exports = function( grunt ) { 
    377377        grunt.registerTask( 'makepot', ['exec:makepot'] );
    378378        grunt.registerTask( 'commit',  ['src', 'checktextdomain', 'imagemin', 'phplint', 'exec:phpcompat'] );
    379379        grunt.registerTask( 'bp_rest', [ 'exec:rest_api', 'copy:bp_rest_components', 'copy:bp_rest_core', 'clean:bp_rest' ] );
    380         grunt.registerTask( 'build',   ['commit', 'clean:all', 'copy:files', 'uglify:core', 'jsvalidate:build', 'exec:blocks_src', 'cssmin', 'bp_rest', 'makepot', 'exec:blocks_build', 'exec:bpdefault', 'exec:cli'] );
     380        grunt.registerTask( 'build',   ['commit', 'clean:all', 'copy:files', 'uglify:core', 'jsvalidate:build', 'exec:blocks_build', 'cssmin', 'bp_rest', 'makepot', 'exec:bpdefault', 'exec:cli'] );
    381381        grunt.registerTask( 'release', ['build'] );
    382382
    383383        // Testing tasks.
  • package.json

    diff --git package.json package.json
    index 9c79a93b9..247e016f0 100644
     
    4040        "scripts": {
    4141                "start": "npm run dev:components && parcel watch src/js/bp-*/*s/blocks/*.js --out-dir src --no-source-maps",
    4242                "dev": "npm run dev:components && parcel build src/js/bp-*/*s/blocks/*.js --out-dir src --no-source-maps --no-minify",
    43                 "build": "npm run build:components && parcel build src/js/bp-*/*s/blocks/*.js --out-dir build --no-source-maps",
     43                "build": "npm run build:components && parcel build src/js/bp-*/*s/blocks/*.js --out-dir build",
    4444                "watch:components": "parcel watch src/js/bp-core/js/block-components/block-components.js --out-dir src/bp-core/js --out-file block-components.js --no-source-maps --global bp",
    4545                "dev:components": "parcel build src/js/bp-core/js/block-components/block-components.js --out-dir src/bp-core/js --out-file block-components.js --no-source-maps --no-minify --global bp",
    46                 "build:components": "parcel build src/js/bp-core/js/block-components/block-components.js --out-dir build/bp-core/js --out-file block-components.js --no-source-maps --global bp"
     46                "build:components": "parcel build src/js/bp-core/js/block-components/block-components.js --out-dir build/bp-core/js --out-file block-components.js --global bp"
    4747        },
    4848        "keywords": [
    4949                "activity",