forked from valor-software/ng2-file-upload
-
Notifications
You must be signed in to change notification settings - Fork 0
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 valor-software#393 from valor-software/feat-rc7
feat(core) add ng2-webpack-config
- Loading branch information
Showing
33 changed files
with
425 additions
and
514 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
'use strict'; | ||
var pkg = require('./package.json'); | ||
|
||
module.exports = { | ||
// metadata | ||
title: pkg.description, | ||
baseUrl: '/', | ||
// root folder name | ||
src: 'demo', | ||
dist: 'demo-build', | ||
htmlIndexes: ['index.html'], | ||
// karma bundle src | ||
spec: './spec-bundle.js', | ||
// webpack entry | ||
entry: { | ||
polyfills: './demo/polyfills.ts', | ||
vendor: './demo/vendor.ts', | ||
main: './demo/index.ts' | ||
}, | ||
commonChunks: { | ||
name: ['polyfills', 'vendor'].reverse() | ||
}, | ||
// webpack alias | ||
alias: {}, | ||
copy: [ | ||
{from: 'demo/favicon.ico', to: 'favicon.ico'}, | ||
{from: 'demo/assets', to: 'assets'} | ||
] | ||
}; |
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
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,13 @@ | ||
import { CommonModule } from '@angular/common'; | ||
import { NgModule } from '@angular/core'; | ||
|
||
import { FileDropDirective } from './file-drop.directive'; | ||
import { FileSelectDirective } from './file-select.directive'; | ||
|
||
@NgModule({ | ||
imports: [CommonModule], | ||
declarations: [FileDropDirective, FileSelectDirective], | ||
exports: [FileDropDirective, FileSelectDirective] | ||
}) | ||
export class FileUploadModule { | ||
} |
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,34 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
let gettingStarted = require('./getting-started.md'); | ||
|
||
@Component({ | ||
selector: 'app', | ||
template: ` | ||
<main class="bd-pageheader"> | ||
<div class="container"> | ||
<h1>ng2-file-upload</h1> | ||
<p>The Angular2 File Upload directives</p> | ||
<a class="btn btn-primary" href="https://github.com/valor-software/ng2-file-upload">View on GitHub</a> | ||
<div class="row"> | ||
<div class="col-lg-1"><iframe src="https://ghbtns.com/github-btn.html?user=valor-software&repo=ng2-file-upload&type=star&count=true" frameborder="0" scrolling="0" width="170px" height="20px"></iframe></div> | ||
<div class="col-lg-1"><iframe src="https://ghbtns.com/github-btn.html?user=valor-software&repo=ng2-file-upload&type=fork&count=true" frameborder="0" scrolling="0" width="170px" height="20px"></iframe></div> | ||
</div> | ||
</div> | ||
</main> | ||
<div class="container"> | ||
<section id="getting-started">${gettingStarted}</section> | ||
<file-upload-section class="col-md-12"></file-upload-section> | ||
</div> | ||
<footer class="footer"> | ||
<div class="container"> | ||
<p class="text-muted text-center"><a href="https://github.com/valor-software/ng2-file-upload">ng2-file-upload</a> is maintained by <a href="https://github.com/valor-software">valor-software</a>.</p> | ||
</div> | ||
</footer> | ||
` | ||
}) | ||
export class DemoComponent { | ||
} |
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 @@ | ||
declare const ENV:string; |
Oops, something went wrong.