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

set javascriptEnabled: true to support Javascript In Less #104

Open
HadeAs opened this issue Mar 29, 2019 · 1 comment
Open

set javascriptEnabled: true to support Javascript In Less #104

HadeAs opened this issue Mar 29, 2019 · 1 comment

Comments

@HadeAs
Copy link

HadeAs commented Mar 29, 2019

modify the getWebpackCommonConfig.js file below:

let lessLoader = cssLoader.concat([
      {
        loader: 'less',
        options: {
          sourceMap: true,
          javascriptEnabled: true   // add this line to support Javascript In Less
        },
      },
    ]);
@HadeAs
Copy link
Author

HadeAs commented Mar 29, 2019

at line 147 of the file

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