This repository has been archived by the owner on Mar 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from uniprank/development
Fixed issue (#2) webpack and systemjs loader
- Loading branch information
Showing
9 changed files
with
2,628 additions
and
521 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
967 changes: 454 additions & 513 deletions
967
bundles/ng2-file-uploader.umd.js → bundles/ng2-file-uploader.webpack.umd.js
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,6 +1,6 @@ | ||
{ | ||
"name": "@uniprank/ng2-file-uploader", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"homepage": "https://github.com/uniprank/ng2-file-uploader#readme", | ||
"author": "Dennis Fiedler <[email protected]>", | ||
"description": "An angular file uploader library", | ||
|
@@ -46,14 +46,17 @@ | |
"@types/core-js": "0.9.35", | ||
"@types/node": "7.0.5", | ||
"awesome-typescript-loader": "^3.0.7", | ||
"babel-core": "^6.23.1", | ||
"codelyzer": "2.0.1", | ||
"glob": "^7.1.1", | ||
"gulp": "3.9.1", | ||
"gulp": "^3.9.1", | ||
"gulp-conventional-changelog": "1.1.0", | ||
"gulp-systemjs-builder": "^0.15.0", | ||
"gulp-typedoc": "2.0.2", | ||
"reflect-metadata": "0.1.10", | ||
"rxjs": "5.2.0", | ||
"shx": "^0.2.2", | ||
"systemjs-builder": "^0.16.3", | ||
"ts-loader": "^2.0.1", | ||
"tslint": "4.4.2", | ||
"tslint-loader": "^3.4.2", | ||
|
@@ -74,6 +77,7 @@ | |
"dev": "tsc --watch", | ||
"docs": "gulp docs", | ||
"lint": "tslint \"module/**/*.ts\"", | ||
"start": "npm run dev", | ||
"prepublish": "npm run build" | ||
}, | ||
"contributors": [ | ||
|
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,47 @@ | ||
(function(global) { | ||
var meta = { | ||
'lib/vendor.js': { | ||
format: 'global', | ||
exports: '@angular' | ||
} | ||
}; | ||
|
||
// map tells the System loader where to look for things | ||
var map = { | ||
'lib': 'lib', // 'dist', | ||
'rxjs': 'node_modules/rxjs', | ||
'@angular': 'node_modules/@angular' | ||
}; | ||
|
||
// packages tells the System loader how to load when no filename and/or no extension | ||
var packages = { | ||
'lib': { main: 'index.js', defaultExtension: 'js' }, | ||
'lib/module': { main: 'index.js', defaultExtension: 'js' }, | ||
'lib/module/source': { main: 'index.js', defaultExtension: 'js' }, | ||
'rxjs': { defaultExtension: 'js' } | ||
}; | ||
|
||
var packageNames = [ | ||
'@angular/common', | ||
'@angular/compiler', | ||
'@angular/core', | ||
// | ||
]; | ||
|
||
// add package entries for angular packages in the form '@angular/common': { main: 'index.js', defaultExtension: 'js' } | ||
packageNames.forEach(function(pkgName) { | ||
packages[pkgName] = { main: 'index.js', defaultExtension: 'js' }; | ||
}); | ||
|
||
var config = { | ||
meta: meta, | ||
map: map, | ||
packages: packages | ||
} | ||
|
||
// filterSystemConfig - index.html's chance to modify config before we register it. | ||
if (global.filterSystemConfig) { global.filterSystemConfig(config); } | ||
|
||
System.config(config); | ||
|
||
})(this); |
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