/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/split-chunks/runtime-chunk-node/a.js
10 строк
308 B
Tobias Koppers
allow runtimeChunk with node targets
29 июн 2020, 12:46
29 июн 2020, 12:46
9f28e37
Код
Авторство
О чём код?
import { value } from "./shared?1"; it("should share the instance with the other entry point", () => { expect(value).toBe(42); }); it("should be able to load the shared instance on demand", () => import(/* webpackChunkName: "shared" */ "./shared?2").then(({ value }) => { expect(value).toBe(24); }));