Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modularization #2395

Merged
merged 10 commits into from Jun 16, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -12,3 +12,4 @@ docco
test/builders/steal-tools/dist/
test/builders/steal-tools/bundle/dist/
test/builders/browserify/out.js
_backup/
5 changes: 1 addition & 4 deletions .travis.yml
Expand Up @@ -6,7 +6,4 @@ before_install:
- "npm install -g phantomjs-prebuilt"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
env:
- TEST_SUITE=loaders
- TEST_SUITE=dists
- TEST_SUITE=individuals

21 changes: 21 additions & 0 deletions build.js
@@ -0,0 +1,21 @@
var stealTools = require("steal-tools");

stealTools.export({
system: {
config: __dirname + "/package.json!npm"
},
options: {
useNormalizedDependencies: false
},
outputs: {
"+global-js": {
ignore: false
}
}
}).catch(function(e){

setTimeout(function(){
throw e;
},1);

});
11 changes: 6 additions & 5 deletions can.js
@@ -1,6 +1,7 @@
var can = require('can/util/util');
require('can/map/define/define');
require('can/view/stache/stache');
require('can/component/component');
require('can/route/route');
var can = require('./util/can');

require('./component/component');
require('./view/stache/stache');
require('./route/route');

module.exports = can;