Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only compiling files using ext once despite changes. #88

Open
afridley opened this issue Mar 26, 2018 · 0 comments
Open

Only compiling files using ext once despite changes. #88

afridley opened this issue Mar 26, 2018 · 0 comments

Comments

@afridley
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant