Skip to content

Commit 425e6d4

Browse files
Eric Snelloutoftime
authored andcommitted
Images scale to fit width of instructions panel (#1593)
* issue #1573 fixed -- images instructions scale to fit width of instructions panel * postcss-cssnext dependency removed - updated postcsspresetenv config to handle nesting rules * uninstalled postcss-cssnext dependency * package-lock.json reset * npm installed to update package-lock.json * Revert package-lock.json to master No changes to dependencies here, so no reason package-lock should change
1 parent f0e32ca commit 425e6d4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

gulpfile.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,14 @@ gulp.task(
5252
);
5353

5454
gulp.task('css', () => {
55-
const processors = [postcssPresetEnv({browsers: postcssBrowsers})];
55+
const processors = [
56+
postcssPresetEnv({
57+
features: {
58+
'nesting-rules': true,
59+
},
60+
browsers: postcssBrowsers,
61+
}),
62+
];
5663
if (process.env.NODE_ENV === 'production') {
5764
processors.push(cssnano());
5865
}

0 commit comments

Comments
 (0)