Skip to content

Commit e4611d2

Browse files
committed
update dependencies: rollup 0.50.0
update to rollup 0.50.0
1 parent c392e2a commit e4611d2

File tree

4 files changed

+916
-908
lines changed

4 files changed

+916
-908
lines changed

packages/rollup-plugin-purgecss/__tests__/index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ const squash = str => str.trim().replace(/\r/g, '')
1414

1515
test('should import *.css files', t => {
1616
return rollup({
17-
entry: '__tests__/fixtures/basic/index.js',
17+
input: '__tests__/fixtures/basic/index.js',
1818
plugins: [
1919
purgecss({
2020
content: ["__tests__/assets/test_a.html"]
2121
})
2222
]
2323
}).then(bundle => {
24-
return bundle.generate()
24+
return bundle.generate({format: "cjs"})
2525
.then(value => {
2626
const result = value.code
2727
t.true(result.includes(squash(expectA)))

0 commit comments

Comments
 (0)