-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump ver. 1.2.0: correctly handle external resource load with require()
close #1
- Loading branch information
1 parent
cfdd2c0
commit fbc465e
Showing
11 changed files
with
55 additions
and
49 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<h1>APP/DIST</h1> | ||
<h2>CSS and HTML loaded by SystemJS plugins</h2> | ||
To learn how to build an <a href="https://angularjs.org">Angular 1.x</a> app using component-style, | ||
writing code in <a href="https://www.typescriptlang.org">Typescript</a> in an effective way, | ||
and be ready to migrate to <a href="https://angular.io">NG2</a> | ||
<h3>JUST USE <a href="https://github.com/ngParty/ng-metadata">ngMetadata</a>!</h3> |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "system", | ||
"module": "commonjs", | ||
"moduleResolution": "node", | ||
"sourceMap": true, | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"removeComments": false, | ||
"noImplicitAny": false, | ||
"outFile": "dist/app-bundle.js", //BUILD AND BUNDLE ALL TS --> JS | ||
"rootDir": "./" //NEEDED TO HAVE CORRECT MODULE DEF app/* IN BUNDLE | ||
"outDir": "./dist" // DIRECTORY WHERE ALL BUILD TS --> JS ARE SAVED | ||
}, | ||
"files": [ | ||
"app/startup.ts", | ||
"typings/browser.d.ts", | ||
"typings/tempfix-plugin-tsc-issue-6615.d.ts" //NEEDED TO FIX TS2307 ERROR LOADING HTML WITH SYSTEMJS PLUGIN | ||
"typings-manual-fix.d.ts" // NEEDED TO VALIDATE require() FOR HTML/CSS | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// FIX: GLOBAL AMBIENT DECLARE TO VALIDATE COMPILE OF require(...) FOR IMPORTING HTML/CSS IN TYPESCRIPT VIA PLUGINS | ||
declare const require: (pathToHtmlOrCss: string) => any; |
This file was deleted.
Oops, something went wrong.