This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 125
not support SASS-LOADER implementation #256
Comments
Expected Behaviorsass-loader 7.3.1 work correct! build success as sass-loader 7.3.1 version with mini-css-extract-plugin && HappyPack Actual Behaviorget Error working with mini-css-extract-plugin and HappyPack Codewebpack mode // webpack.config.js
// use loader
{
test: /\.(css|scss)$/,
use: [
MiniCssExtractPlugin.loader,
require.resolve('happypack/loader') + '?id=scss',
],
}
// HappyPack
new HappyPack({
id: 'scss',
threadPool: HappyThreadPool,
loaders: [
{
loader: require.resolve('css-loader'),
options: {
sourceMap: true,
modules: abcJSON.css ? !!abcJSON.css.modules : false,
importLoaders: 2,
},
},
{
loader: require.resolve('postcss-loader'),
options: {
sourceMap: 'inline',
config: {
path: path.join(__dirname, '/'),
},
},
},
{
loader: require.resolve('resolve-url-loader'),
options: {
sourceMap: true,
},
},
{
loader: require.resolve('sass-loader'),
options: {
sourceMap: true
},
},
],
}), |
I have the same problem, Can anyone fix it? |
have you fixed it? |
I encountered this problem, upgrade Vue-loader vue template-compiler version |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: