Skip to content

Commit

Permalink
fix: πŸ› use mixinsDir to import mixins (#182)
Browse files Browse the repository at this point in the history
βœ… Closes: #181
  • Loading branch information
reme3d2y committed Jun 25, 2020
1 parent ced55b3 commit 06a6f2d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable global-require */

const path = require('path');

module.exports = {
plugins: [
require('postcss-import')({}),
require('postcss-mixins')({}),
require('postcss-mixins')({
mixinsDir: path.join(__dirname, 'packages/vars/src'),
}),
require('postcss-preset-env')({
stage: 3,
features: {
Expand Down

0 comments on commit 06a6f2d

Please sign in to comment.