Skip to content

Commit

Permalink
postcss | remove @media prints
Browse files Browse the repository at this point in the history
  • Loading branch information
przemyslawjanpietrzak committed May 28, 2021
1 parent 6518b3d commit aa47c17
Show file tree
Hide file tree
Showing 7 changed files with 577 additions and 16,805 deletions.
10 changes: 10 additions & 0 deletions .postcssrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
var postcss = require('postcss');
const scopifyVuetifyGlobalStyles = require('./lib/js/utils/scopify-vuetify-global-styles');

module.exports = {
Expand All @@ -6,5 +7,14 @@ module.exports = {
prefix: '.enabled-vuetify-global-styling',
transform: scopifyVuetifyGlobalStyles,
}),
postcss.plugin('myplugin', function myplugin() {
return function (css) {
css.walkAtRules(function (rule) {
if ((rule.type === 'atrule') & (rule.params === 'print')) {
rule.remove();
}
});
};
}),
],
};
8,681 changes: 281 additions & 8,400 deletions dist/design-system.common.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/design-system.common.js.map

Large diffs are not rendered by default.

8,681 changes: 281 additions & 8,400 deletions dist/design-system.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/design-system.umd.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/design-system.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/design-system.umd.min.js.map

Large diffs are not rendered by default.

0 comments on commit aa47c17

Please # to comment.