mirror of https://github.com/webpack/webpack.git
Merge 006ca7fb06
into c7ebdbda63
This commit is contained in:
commit
6b9a2b23cc
|
@ -0,0 +1,10 @@
|
|||
import * as Stub from "./stub";
|
||||
|
||||
it("should compile", function () {
|
||||
if (typeof Stub.NotHere !== "undefined") {
|
||||
throw new Error("This shouldn't be here!");
|
||||
}
|
||||
if (typeof Stub.Here === "undefined") {
|
||||
throw new Error("This should be here!");
|
||||
}
|
||||
});
|
|
@ -0,0 +1 @@
|
|||
export const Here = "exists";
|
|
@ -0,0 +1,6 @@
|
|||
/** @type {import("../../../../").Configuration} */
|
||||
module.exports = {
|
||||
module: {
|
||||
strictExportPresence: true
|
||||
}
|
||||
};
|
|
@ -0,0 +1,10 @@
|
|||
import * as Stub from "./stub";
|
||||
|
||||
it("should compile", function () {
|
||||
if (typeof Stub.NotHere !== "undefined") {
|
||||
throw new Error("This shouldn't be here!");
|
||||
}
|
||||
if (typeof Stub.Here === "undefined") {
|
||||
throw new Error("This should be here!");
|
||||
}
|
||||
});
|
|
@ -0,0 +1 @@
|
|||
export const Here = "exists";
|
Loading…
Reference in New Issue