diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/stylesheets/package.json | 1 | ||||
| -rw-r--r-- | src/stylesheets/postcss.config.js | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/stylesheets/package.json b/src/stylesheets/package.json index b9679a6e..c3731075 100644 --- a/src/stylesheets/package.json +++ b/src/stylesheets/package.json @@ -4,7 +4,6 @@ "devDependencies": { "autoprefixer": "~10.3", "cssnano": "~5.0", - "package.json": "^2.0.1", "postcss": "~8.3", "postcss-cli": "~8.3", "stylelint": "~13.13", diff --git a/src/stylesheets/postcss.config.js b/src/stylesheets/postcss.config.js index a379527d..d40c4c46 100644 --- a/src/stylesheets/postcss.config.js +++ b/src/stylesheets/postcss.config.js @@ -1,3 +1,5 @@ +'use strict' + module.exports = (ctx) => ({ plugins: { autoprefixer: true, @@ -15,7 +17,7 @@ module.exports = (ctx) => ({ }, ] }, - './lib/postcss-minify-selectors.js': true, - './lib/postcss-rule-per-line.js': true, + [require.resolve('./lib/postcss-minify-selectors.js')]: true, + [require.resolve('./lib/postcss-rule-per-line.js')]: true, } }) |
