For some resason I can't get the lost grid framework to work with postcss. Here is my vue config file:
var postStylus = require('poststylus');
module.exports = {
postcss: [postStylus(['lost'])]
}
Error:
TypeError: Cannot read property 'filename' of undefined
at /Users/rweas/Projects/Frontline/node_modules/poststylus/index.js:31:33
at LazyResult.run (/Users/rweas/Projects/Frontline/node_modules/vueify/node_modules/postcss/lib/lazy-result.js:201:20)
at /Users/rweas/Projects/Frontline/node_modules/vueify/node_modules/postcss/lib/lazy-result.js:115:37
at LazyResult.asyncTick (/Users/rweas/Projects/Frontline/node_modules/vueify/node_modules/postcss/lib/lazy-result.js:129:15)
at processing.Promise.then._this2.processed (/Users/rweas/Projects/Frontline/node_modules/vueify/node_modules/postcss/lib/lazy-result.js:155:20)
at lib$es6$promise$$internal$$initializePromise (/Users/rweas/Projects/Frontline/node_modules/vueify/node_modules/es6-promise/dist/es6-promise.js:373:9)
at new lib$es6$promise$promise$$Promise (/Users/rweas/Projects/Frontline/node_modules/vueify/node_modules/es6-promise/dist/es6-promise.js:664:9)
at LazyResult.async (/Users/rweas/Projects/Frontline/node_modules/vueify/node_modules/postcss/lib/lazy-result.js:152:27)
at LazyResult.then (/Users/rweas/Projects/Frontline/node_modules/vueify/node_modules/postcss/lib/lazy-result.js:75:21)
at module.exports (/Users/rweas/Projects/Frontline/node_modules/vueify/lib/style-rewriter.js:66:8)
[12:10:48] gulp-notify: [Laravel Elixir] Browserify Failed!: Cannot read property 'filename' of undefined while parsing file: /Users/rweas/Projects/Frontline/resources/assets/js/components/Bar.vue
For some resason I can't get the lost grid framework to work with postcss. Here is my vue config file:
Error:
It does work with just normal stylus though.