Skip to content

Commit cb2f0f2

Browse files
mitarAkryum
authored andcommitted
Allow loading of PostCSS plugins. (#317)
1 parent ef35b62 commit cb2f0f2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/vue-component/package.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Package.registerBuildPlugin({
3939
'vue-template-compiler': '2.5.13',
4040
'vue-template-es2015-compiler': '1.6.0',
4141
'colors': '1.1.2',
42+
'app-module-path': '2.2.0',
4243
},
4344
})
4445

packages/vue-component/plugin/post-css.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Makes sure we can load peer dependencies from app's directory.
2+
// See: https://github.com/meteor/meteor/issues/9865
3+
Npm.require('app-module-path/cwd')
4+
15
import postcss from 'postcss'
26
import selectorParser from 'postcss-selector-parser'
37
import load from 'postcss-load-config'

0 commit comments

Comments
 (0)