Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document and improve support for webpack #34

Open
fgrehm opened this issue Nov 24, 2016 · 0 comments
Open

Document and improve support for webpack #34

fgrehm opened this issue Nov 24, 2016 · 0 comments
Assignees

Comments

@fgrehm
Copy link
Contributor

fgrehm commented Nov 24, 2016

Something simliar to what is documented for bourbon here vuejs/vue-loader#95 (comment) that doesn't require us to know in advance where files are located. Right now I have to:

var pathToVital = path.resolve(__dirname, '../node_modules/vital-css/sass')

module.exports = {
  // ...webpack stuff...
  sassLoader: {
    includePaths: [pathToVital]
  }
}

But it'd be nice if we were able to just:

module.exports = {
  // ...webpack stuff...
  sassLoader: {
    includePaths: [require('vital-sass').includePaths]
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants