Skip to content

Commit

Permalink
adjust async-requires paths in map-template-to-static-query-hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh committed Aug 12, 2020
1 parent 41b5ca0 commit 247338d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const createModule = (resource, reasons = []) => {
describe(`map-templates-to-static-query-hashes`, () => {
it(`should map static-queries to a component file on all platforms`, () => {
const asyncRequires = createModule(
`_this_is_virtual_fs_path_/$virtual/async-requires.js`
`.cache/_this_is_virtual_fs_path_/$virtual/async-requires.js`
)

const templateMap = mapTemplatesToStaticQueryHashes(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ interface IModule extends Omit<Stats.FnModules, "identifier" | "reasons"> {
*/
const entryNodes = [
`.cache/api-runner-browser-plugins.js`,
`.cache/async-requires.js`,
`.cache/_this_is_virtual_fs_path_/$virtual/async-requires.js`,
]

/* This function takes the current Redux state and a compilation
Expand Down

0 comments on commit 247338d

Please sign in to comment.