Comments (4)
- Operating System: MAC OSX 10.14.6
- Node Version: 12.9.1
- NPM Version: 6.11.2
- webpack Version: 4.39.3
- sass-loader Version: 8.0.0
Expected Behavior
sass-loader 7.3.1 work correct!
build success as sass-loader 7.3.1 version with mini-css-extract-plugin && HappyPack
Actual Behavior
get Error working with mini-css-extract-plugin and HappyPack
Code
webpack mode production
// 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
},
},
],
}),
from happypack.
I have the same problem, Can anyone fix it?
from happypack.
have you fixed it?
from happypack.
I encountered this problem, upgrade Vue-loader vue template-compiler version
from happypack.
Related Issues (20)
- Cannot complete npm install of happypack repo HOT 9
- It works in CSS, but it doesn't work in Babel HOT 2
- webpack4 is more slower?
- How do you remove the happypack cache? HOT 5
- The translation of thread and process
- can't resolve module "happypack/loader"
- [email protected] new webpack api support request
- Channel closed HOT 2
- happypack and scoped/postcss-loader conflict?
- Non-deterministic build output when used with ts-loader
- customized babel plugin throw an error
- Cannot read property 'normal' of undefined HOT 5
- Example references missing example-utils repo
- How to use in webpack-chain
- unable to locate the plugin list! This most likely indicates an internal error. HOT 5
- Happypack v5.0.0 breaking emoji-mart v3.0.0
- build error HOT 2
- Happypack semver issue
- Loaded 0 entries from cache. (0 were stale)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from happypack.