Skip to content

Commit

Permalink
fix: Don't use banner option as browserslist arg (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Essk authored Nov 3, 2023
1 parent e64e549 commit f7f6094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const getSettings = function(options) {

const settings = {
banner: options.banner || `@name ${pkg.name} @version ${pkg.version} @license ${pkg.license}`,
browserslist: options.banner || pkg.browserslist || ['defaults', 'ie 11']
browserslist: options.browserslist || pkg.browserslist || ['defaults', 'ie 11']
};

settings.plugins = [
Expand Down

0 comments on commit f7f6094

Please sign in to comment.