Skip to content
Permalink
Browse files

fix: work around rollup-pluginutils globbing cwd

See this issue for more info: rollup/rollup-pluginutils#39
  • Loading branch information...
tivac committed Feb 6, 2019
1 parent 7fc6ec5 commit 4c0bdd807f62fa796044fd0b10506766b563eede
Showing with 3 additions and 1 deletion.
  1. +3 −1 packages/rollup/rollup.js
@@ -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);

0 comments on commit 4c0bdd8

Please sign in to comment.
You can’t perform that action at this time.