Skip to content

Commit

Permalink
fix: Without from option PostCSS could generate wrong source map an…
Browse files Browse the repository at this point in the history
…d will not find Browserslist config
  • Loading branch information
sy-records committed Dec 15, 2023
1 parent 1c5a701 commit 491a002
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion build/mincss.js
Expand Up @@ -7,7 +7,7 @@ const files = fs.readdirSync(path.resolve('lib/themes'));
files.forEach(file => {
file = path.resolve('lib/themes', file);
cssnano
.process(fs.readFileSync(file))
.process(fs.readFileSync(file), { from: undefined })
.then(result => {
fs.writeFileSync(file, result.css);
})
Expand Down
6 changes: 0 additions & 6 deletions test/e2e/gtag.test.js
Expand Up @@ -81,10 +81,4 @@ test.describe('Gtag Plugin Tests', () => {
// Tests
expect($docsify.gtag).not.toEqual('');
});

test('data-ga attribute', async ({ page }) => {
pageRequestListened(page);

// TODO
});
});

0 comments on commit 491a002

Please sign in to comment.