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

How to use it with webpack? #10

Closed
xzfd1010 opened this issue Jan 11, 2018 · 2 comments
Closed

How to use it with webpack? #10

xzfd1010 opened this issue Jan 11, 2018 · 2 comments
Labels

Comments

@xzfd1010
Copy link

I want to use this plugin in vue.Then I add this plugin like this.

// https://vue-loader.vuejs.org/en/configurations/extract-css.html
  return {
    css: generateLoaders(),
    postcss: generateLoaders(),
    less: generateLoaders('less', {
      plugins: [new require('less-plugin-functions')]
    }),
    sass: generateLoaders('sass', {indentedSyntax: true}),
    scss: generateLoaders('sass'),
    stylus: generateLoaders('stylus'),
    styl: generateLoaders('stylus')
  }

But it reportes this error.
image
Could you please tell me how to use this plugin with webpack?
Thank you.

@seven-phases-max
Copy link
Owner

I guess this is a question for the webpack less-loader repo (e.g. webpack-contrib/less-loader#188) rather than for a plugin issue tracker... I don't use webpack and have no idea about its trickery, sorry.

@seven-phases-max
Copy link
Owner

Closing as not an issue of the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants