mirror of https://github.com/webpack/webpack.git
Compare commits
2 Commits
5a294d5490
...
d83fac69c7
| Author | SHA1 | Date |
|---|---|---|
|
|
d83fac69c7 | |
|
|
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