cortexjs-legacy / cortex

The package manager for browsers
http://ctx.io
Other
224 stars 34 forks source link

cortex-build failed to process in-project modules on windows #441

Closed rhgb closed 10 years ago

rhgb commented 10 years ago

occurred in cortex@3.29.0 in-project modules are regarded as external ones. sample: index.js

var sub = require('./lib/submod');

lib/submod.js

module.exports = {};

built mod

define("cortextest@latest\lib\submod", [], function(require, exports, module) { module.exports = {}; }, {}); define("cortextest@latest\index", ["./lib/submod"], function(require, exports, module) { var sub = require('./lib/submod'); }, { "main": true });