Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Loaded 0 entries from cache. (0 were stale) #277

Open
faganer opened this issue Dec 31, 2021 · 0 comments
Open

Loaded 0 entries from cache. (0 were stale) #277

faganer opened this issue Dec 31, 2021 · 0 comments

Comments

@faganer
Copy link

faganer commented Dec 31, 2021

"webpack": "^1.13.1",
"happypack": "^3.1.0",
"babel-loader": "^6.4.1",

rules:

rules: [{
  test: /\.js$/,
  use: ['happypack/loader?id=babel'],
  include: [
    path.resolve(jsDev, "src"),
    path.resolve(jsDev, "base"),
    path.resolve(jsDev, "module")
  ],
  exclude: path.resolve(__dirname, 'node_modules'),
}, ],

HappyPack:

new HappyPack({
  cache: true,
  verbose: true,
  verboseWhenProfiling: true,
  debug: true,
  threadPool: happThreadPool,
  cacheContext: {
    env: process.env.NODE_ENV
  },
  id: 'babel',
  loaders: ['babel-loader?cacheDirectory'],
}),

But build:

Happy[babel]: Version: 3.1.0. Using cache? Yes. Threads: 11 (shared pool)
Happy[babel]: Loaded 0 entries from cache. (0 were stale)

Why?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant