Skip to content

Commit

Permalink
fix: work around rollup-pluginutils globbing cwd
Browse files Browse the repository at this point in the history
See this issue for more info: rollup/rollup-pluginutils#39
  • Loading branch information
tivac committed Feb 6, 2019
1 parent 7fc6ec5 commit 4c0bdd8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/rollup/rollup.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ module.exports = (opts) => {
const options = Object.assign(Object.create(null), {
common : "common.css",
dev : false,
include : "**/*.css",
json : false,
meta : false,
namedExports : true,
styleExport : false,
verbose : false,

// Regexp to work around https://github.com/rollup/rollup-pluginutils/issues/39
include : /\.css$/i,
}, opts);

const filter = utils.createFilter(options.include, options.exclude);
Expand Down

0 comments on commit 4c0bdd8

Please sign in to comment.