Skip to content

process not closing with thread-loader 2.1.3 #87

Open
@includeios

Description

@includeios

the question is same as #56, but my version is 2.1.3, and my webpack configuration is like this:

...
const threadLoader = require('thread-loader');
...
const jsWorkerPool = {
   poolTimeout: 2000,
   workerParallelJobs: 200,
};
threadLoader.warmup({ jsWorkerPool }, ['vue-loader', 'babel-loader'])
...
 rules: [
      {
        test: /\.vue$/,
        use: [
          {
            loader: 'thread-loader',
            options: jsWorkerPool,
          },
          'vue-loader',
        ],
      },
      {
        test: /\.js$/,
        use: [
          {
            loader: 'thread-loader',
            options: jsWorkerPool,
          },
          'babel-loader',
        ],
        exclude: /node_modules/,
      },
      {
        test: /\.css$/,
        use: ['vue-style-loader', MiniCssExtractPlugin.loader, ...cssOptions],
      },
      {
        test: /\.scss$/,
        use: ['vue-style-loader', MiniCssExtractPlugin.loader, ...sassOptions],
      },
     ...
]

my vue version is 2.6.10, vue-loader version is 15.9.0, i do not know if the version of vue-loader and vue-style-loader affects it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions