Skip to content

Commit

Permalink
chore: optimize less configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
deleonio committed Mar 9, 2021
1 parent 781cd59 commit 028a4dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/stack/snowpack/snowpack.config.js
Expand Up @@ -54,6 +54,7 @@ module.exports = {
'snowpack-plugin-less',
{
javascriptEnabled: true,
paths: ['node_modules'],
},
],
'@snowpack/plugin-sass',
Expand Down
1 change: 1 addition & 0 deletions packages/stack/vite/vite.config.js
Expand Up @@ -6,6 +6,7 @@ module.exports = {
preprocessorOptions: {
less: {
javascriptEnabled: true,
paths: ['node_modules'],
},
sass: {
implementation: require('sass'),
Expand Down
1 change: 1 addition & 0 deletions packages/stack/webpack/src/webpack.config.ts
Expand Up @@ -62,6 +62,7 @@ export function webpackConfig(env: any, argv: any, loaders: any[] = []): Object
options: {
lessOptions: {
javascriptEnabled: true,
paths: ['node_modules'],
},
},
},
Expand Down

0 comments on commit 028a4dc

Please sign in to comment.