Skip to content

Commit a867056

Browse files
committed
import the internal postcss nesting plugin
This allows us to work on it without re-compiling while running tests. Just like we do with all other code.
1 parent dfa1bde commit a867056

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/postcss-plugins/nesting/index.test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
let postcss = require('postcss')
2-
let postcssNested = require('postcss-nested')
3-
let plugin = require('../../../nesting')
1+
import postcss from 'postcss'
2+
import postcssNested from 'postcss-nested'
3+
import plugin from '../../../src/postcss-plugins/nesting'
44

55
it('should be possible to load a custom nesting plugin', async () => {
66
let input = css`

0 commit comments

Comments
 (0)