webpack/test/TestCasesCachePack.longtest.js

23 lines
433 B
JavaScript

const path = require("path");
const { describeCases } = require("./TestCases.template");
describe("TestCases", () => {
describeCases({
name: "cache pack",
cache: {
type: "filesystem",
buildDependencies: {
defaultWebpack: []
}
},
snapshot: {
managedPaths: [path.resolve(__dirname, "../node_modules")]
},
optimization: {
innerGraph: true,
usedExports: true,
concatenateModules: true
}
});
});