File tree Expand file tree Collapse file tree 3 files changed +6
-17
lines changed
Expand file tree Collapse file tree 3 files changed +6
-17
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,6 @@ module.exports = {
2121 processOptions,
2222 source : 'basic.scss' ,
2323 } ,
24- 'basic:mixed' : {
25- message : 'supports mixed (postcss-unroot, postcss-sass) usage' ,
26- plugin : require ( 'postcss' ) ( [
27- // In the previous test, unroot wouldn't do anything.
28- // I'm pretty sure that is a bug, so I changed the expected css file
29- require ( 'postcss-unroot' ) ,
30- require ( '.' ) ,
31- ] ) ,
32- processOptions,
33- source : 'basic.scss' ,
34- } ,
3524 'imports' : {
3625 message : 'supports imports usage' ,
3726 plugin : require ( 'postcss' ) (
Original file line number Diff line number Diff line change 3838 "source-map" : " ~0.7.3"
3939 },
4040 "peerDependencies" : {
41- "postcss" : " ^8.2.4 "
41+ "postcss" : " ^8.4.6 "
4242 },
4343 "devDependencies" : {
4444 "@babel/core" : " ^7.17.2" ,
4848 "echint" : " ^4.0.2" ,
4949 "eslint" : " ^8.9.0" ,
5050 "eslint-config-dev" : " 2.0.0" ,
51+ "postcss" : " ^8.4.6" ,
5152 "postcss-import" : " ^14.0.2" ,
5253 "postcss-scss" : " ^4.0.3" ,
5354 "postcss-tape" : " 6.0.1" ,
54- "postcss-unroot" : " ^1.0.2" ,
55- "pre-commit" : " ^1.2.2" ,
5655 "rollup" : " ^2.67.2"
5756 },
5857 "eslintConfig" : {
9291 "root" : true
9392 },
9493 "postcssConfig" : {
95- "config" : " .tape.js"
94+ "config" : " .tape.js" ,
95+ "plugin" : " ./dist/index.cjs"
9696 },
9797 "keywords" : [
9898 " postcss" ,
Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ const plugin = (opts = {}) => {
8989 data : postCSS ,
9090 importer ( id , parentId , done ) {
9191 const doneWrap = ( importerResult ) => {
92- const file =
93- importerResult && importerResult . file ;
92+ const file = importerResult && importerResult . file ;
93+
9494 if ( file ) {
9595 const parent = pathResolve ( parentId ) ;
9696
You can’t perform that action at this time.
0 commit comments