Skip to content

Commit

Permalink
Testing with only dynamic requries (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBuchholz committed Oct 14, 2017
1 parent 99b31aa commit ea73cc7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/require/dynamic_commonjs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*
* The scope is 'private'.
* Imports can be realized with require()
* Exports are made through the assignment to module.exports.
*/
"use strict";

var fileName = "data.json",
data = require(fileName);

module.exports = {
type: "dynamic_commonjs",
data: data
};

0 comments on commit ea73cc7

Please sign in to comment.