Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
FranckFreiburger committed Oct 30, 2018
1 parent 2b0025a commit c71b36a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/watchCases/plugins/define-plugin/webpack.config.js
Expand Up @@ -19,7 +19,11 @@ module.exports = {
}, []),
TEST_VALUE3: webpack.DefinePlugin.runtimeValue(() => {
return JSON.stringify(fs.readFileSync(valueFile, "utf-8").trim());
}, true)
}, true),
TEST_FN_ARG1: webpack.DefinePlugin.runtimeValue((module) => {
return typeof module === 'object'; // or `module instanceof ?what?`
})

})
]
};

0 comments on commit c71b36a

Please sign in to comment.