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

.less files in node_modules was modularized, how to fix it #312

Closed
zx930626 opened this issue Aug 19, 2020 · 0 comments
Closed

.less files in node_modules was modularized, how to fix it #312

zx930626 opened this issue Aug 19, 2020 · 0 comments

Comments

@zx930626
Copy link

zx930626 commented Aug 19, 2020

here is my config

  extensions: ['.less'],
  autoModules: false,
  modules: {
    generateScopedName: '[local]_[hash:base64:5]'
  },
  minimize: true,
  plugins: [
    require('postcss-import')(),
    simpleVars(),
  ],
  extract: false,
  use : {
    less: {
      javascriptEnabled: true,
    }
  },

it works when i set modules like this, but less files in node_modules is transformed

@zx930626 zx930626 changed the title modules doesn't work if the option is set to object .less files in node_modules was modularized, how to fix it Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant