Replace node-sass with dart-sass
This commit is contained in:
parent
4be0e0e4e1
commit
55b9b5ad9e
@ -70,10 +70,10 @@
|
||||
"jest": "^24.7.1",
|
||||
"jest-extended": "^0.11.1",
|
||||
"mini-css-extract-plugin": "^0.8.0",
|
||||
"node-sass": "^4.12.0",
|
||||
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
||||
"postcss-loader": "^3.0.0",
|
||||
"rimraf": "^2.6.3",
|
||||
"sass": "^1.22.12",
|
||||
"sass-loader": "^7.1.0",
|
||||
"semver": "^6.3.0",
|
||||
"style-loader": "^1.0.0",
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* eslint-disable import/no-extraneous-dependencies */
|
||||
const fs = require('fs')
|
||||
const sass = require('sass')
|
||||
const webpack = require('webpack')
|
||||
const VueLoaderPlugin = require('vue-loader/lib/plugin')
|
||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
|
||||
@ -82,7 +83,12 @@ const config = {
|
||||
devMode ? 'style-loader' : MiniCssExtractPlugin.loader,
|
||||
{ loader: 'css-loader', options: { importLoaders: 2 } },
|
||||
'postcss-loader',
|
||||
'sass-loader',
|
||||
{
|
||||
loader: 'sass-loader',
|
||||
options: {
|
||||
implementation: sass,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user