JeffreyWay / Laravel-Elixir-Rollup

Official Rollup extension for Laravel Elixir. (Includes support for .vue files).
29 stars 12 forks source link

Update call to rollup #19

Closed mundomatt closed 6 years ago

mundomatt commented 7 years ago

As of this rollup commit (https://github.com/rollup/rollup/pull/1566) the moduleName option was normalized to name, as well as sourceMap renamed to lowercase sourcemap. These changes need to be reflected in the rollup call in RollupTask.js line 104:

        return rollup(
            extend({
                entry: this.src.path,
                cache: cache,
                sourceMap: true,
                format: 'iife',
                moduleName: 'LaravelElixirBundle',
                plugins: plugins
            }, this.rollupConfig, this.options)
        )
        .on('bundle', function (bundle) {
            cache = bundle;
        });
mbaierl commented 6 years ago

Hey guys, any chance to fix this? Open since September...

pilishen commented 6 years ago

Korko's commit was a right fix, thanks shame to mannually change source code