Last active
December 31, 2015 03:18
-
-
Save renevall/4ca02d61548f30f495a4 to your computer and use it in GitHub Desktop.
Angular2 - Compiled Files in their own folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
System.config({ | |
packages: { | |
build: { //name must match folder | |
format: 'register', | |
defaultExtension: 'js' | |
} | |
} | |
}); | |
System.import('build/boot') //import must match folder | |
.then(null, console.error.bind(console)); | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"target": "ES5", | |
"module": "system", | |
"moduleResolution": "node", | |
"sourceMap": true, | |
"emitDecoratorMetadata": true, | |
"experimentalDecorators": true, | |
"removeComments": false, | |
"noImplicitAny": false, | |
"outDir": "./build/" //output folder | |
}, | |
"exclude": [ | |
"node_modules" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment