mirror of https://github.com/webpack/webpack.git
Compare commits
2 Commits
6b9a2b23cc
...
a78e15db68
Author | SHA1 | Date |
---|---|---|
|
a78e15db68 | |
|
006ca7fb06 |
|
@ -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