Skip to content

Commit

Permalink
fix(build): use sass instead of node-sass
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayakkulkarni committed May 18, 2021
1 parent f525d2d commit 558f11b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default [
}),
commonjs(),
vue({ css: false }),
scss({ output: 'dist/v-mapbox.css' }),
scss({ output: 'dist/v-mapbox.css', sass: require('sass') }),
],
external: ['vue', 'mapbox-gl', 'map-promisified'],
},
Expand Down
1 change: 1 addition & 0 deletions build/rollup.config.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default {
scss({
output: 'dist/v-mapbox.min.css',
outputStyle: 'compressed',
sass: require('sass'),
}),
],
external: ['vue', 'mapbox-gl', 'map-promisified'],
Expand Down

0 comments on commit 558f11b

Please sign in to comment.