Skip to content

Commit 49dd9b9

Browse files
author
Nathan Mc Grath
committed
added firebase deployment configuration
1 parent a7569db commit 49dd9b9

6 files changed

+26
-3
lines changed

.firebaserc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "coolestprojectsapp"
4+
}
5+
}

database.rules.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
".read": true,
3+
".write": true
4+
}

firebase.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"database": {
3+
"rules": "database.rules.json"
4+
},
5+
"hosting": {
6+
"public": "www",
7+
"rewrites": [
8+
{
9+
"source": "**",
10+
"destination": "/index.html"
11+
}
12+
]
13+
}
14+
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "big-bin-mobile-angular",
2+
"name": "coolest-projects-web-app",
33
"version": "1.0.0",
44
"description": "",
55
"main": "webpack.config.js",

src/favicon.ico

1.37 KB
Binary file not shown.

webpack.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ module.exports = {
3030
{ test: /\.ts$/, loader: 'babel?presets[]=es2015!ts!tslint' },
3131
{ test: /\.css$/, loader: 'style!css!postcss' },
3232
{ test: /\.scss$/, loader: 'style!css!postcss!sass' },
33-
{ test: /\.(jpg|jpeg|png|gif|svg)$/i, loader:'file' },
34-
{ test : /\.(otf|eot|svg|ttf|woff|woff2)/i, loader : 'file' }
33+
{ test: /\.(jpg|jpeg|png|gif|svg|ico)$/i, loader:'file?name=img/[name].[ext]' },
34+
{ test : /\.(otf|eot|svg|ttf|woff|woff2)/i, loader : 'file?name=font/[name].[ext]' }
3535
],
3636
postcss: [
3737
AutoPrefixer({browsers: [

0 commit comments

Comments
 (0)