initial commit - far from runnable
This commit is contained in:
commit
db057ce342
8614 changed files with 1032171 additions and 0 deletions
22
node_modules/app-root-path/browser-shim.js
generated
vendored
Normal file
22
node_modules/app-root-path/browser-shim.js
generated
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
'use strict';
|
||||
|
||||
exports.path = require('path').dirname(require.main.filename);
|
||||
|
||||
exports.resolve = function(pathToModule) {
|
||||
return exports.path + pathToModule;
|
||||
};
|
||||
|
||||
exports.require = function(pathToModule) {
|
||||
var r = 'function' === typeof __webpack_require__
|
||||
? __non_webpack_require__
|
||||
: require;
|
||||
return r(exports.resolve(pathToModule));
|
||||
};
|
||||
|
||||
exports.toString = function() {
|
||||
return exports.path;
|
||||
};
|
||||
|
||||
exports.setPath = function(explicitlySetPath) {
|
||||
exports.path = explicitlySetPath;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue