babel-resolver
Advanced tools
Comparing version 0.0.7 to 0.0.8
v0.0.8 / 2015-11-11 | ||
=================== | ||
* bump version | ||
* move test-app bootstrapper | ||
* changes | ||
v0.0.7 / 2015-11-11 | ||
@@ -3,0 +10,0 @@ =================== |
{ | ||
"name": "babel-resolver", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Resolve modules from any directory.", | ||
@@ -5,0 +5,0 @@ "main": "lib/createBabelResolver.js", |
describe('babelResolver()', function () { | ||
it('works', function () { | ||
require('./testAppBootstrapper'); | ||
require('./test-app'); | ||
}); | ||
}); |
@@ -1,4 +0,11 @@ | ||
import assert from 'assert'; | ||
import { User } from 'controllers'; | ||
var resolve = require('path').resolve; | ||
var localModulesDir = __dirname; | ||
var anotherDirToCheck = resolve(__dirname, 'lib'); | ||
var resolver = require('../../')(localModulesDir, anotherDirToCheck); | ||
assert(User === 'UserController'); | ||
require('babel-core/register')({ | ||
presets: ['es2015'], | ||
resolveModuleSource: resolver | ||
}); | ||
require('./app'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12121