Skip to content

Commit 491a002

Browse files
committed
fix: Without from option PostCSS could generate wrong source map and will not find Browserslist config
1 parent 1c5a701 commit 491a002

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

build/mincss.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const files = fs.readdirSync(path.resolve('lib/themes'));
77
files.forEach(file => {
88
file = path.resolve('lib/themes', file);
99
cssnano
10-
.process(fs.readFileSync(file))
10+
.process(fs.readFileSync(file), { from: undefined })
1111
.then(result => {
1212
fs.writeFileSync(file, result.css);
1313
})

test/e2e/gtag.test.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,4 @@ test.describe('Gtag Plugin Tests', () => {
8181
// Tests
8282
expect($docsify.gtag).not.toEqual('');
8383
});
84-
85-
test('data-ga attribute', async ({ page }) => {
86-
pageRequestListened(page);
87-
88-
// TODO
89-
});
9084
});

0 commit comments

Comments
 (0)