mirror of https://github.com/webpack/webpack.git
9 lines
205 B
JavaScript
9 lines
205 B
JavaScript
|
const path = require("path");
|
||
|
|
||
|
module.exports = {
|
||
|
// sharing global require cache between webpack.config.js and testing file
|
||
|
modules: {
|
||
|
[path.resolve(__dirname, "data.js")]: require("./data.js")
|
||
|
}
|
||
|
};
|