Skip to content

Only compiling files using ext once despite changes. #88

@afridley

Description

@afridley
grunt.config.merge({
        babel: {
            options: {
                sourceMap: false,
                presets: ['env']
            },
            dist: {
                files: [{
                    expand: true,
                    cwd: '<%= env.DIR_SRC %>/assets/scripts/',
                    src: '**/*.js',
                    ext: '.cmp.js',
                    dest: '<%= env.DIR_SRC %>/assets/scripts/'
                }]
            }
        },

This will compile the .cmp.js files, but any changes to the original js files will yeild no change until the .cmp.js files are deleted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions