Skip to content

Commit

Permalink
Set rebase to false
Browse files Browse the repository at this point in the history
  • Loading branch information
amk221 authored and kategengler committed Sep 5, 2023
1 parent 1101263 commit 73985ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions broccoli-clean-css.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class CleanCSSFilter extends BroccoliPersistentFilter {
setupCleanCSS() {
let inputPath = this.inputPaths[0];
let cleanCSSOptions = Object.assign({}, this.options.cleanCSS, {
rebase: false,
returnPromise: true,
});

Expand Down
2 changes: 1 addition & 1 deletion node-tests/minify-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('ember-cli-clean-css', function () {
);
assert.strictEqual(
content,
'body{background:#ff8c00}.hello{font-family:sans-serif;font-size:40px;margin-top:30px;text-align:center}'
'body{background:#ff8c00}.hello{font-family:sans-serif;font-size:40px;margin-top:30px;text-align:center;background-image:url(images/foo.png)}'
);
});
});
Expand Down
1 change: 1 addition & 0 deletions tests/dummy/app/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ body {

margin-top: 30px;
text-align: center;
background-image: url('images/foo.png');
}

0 comments on commit 73985ae

Please sign in to comment.