Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
W
whats-open-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
23
Issues
23
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
whats-open-web
Commits
171afdc8
Commit
171afdc8
authored
Jun 07, 2018
by
Andrew Hrdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added apple-app-site-association. Closes #48
parent
51ee81e9
Pipeline
#2512
passed with stage
in 1 minute and 39 seconds
Changes
5
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
5 deletions
+34
-5
public/apple-app-site-association
public/apple-app-site-association
+18
-0
src/index.js
src/index.js
+1
-0
webpack/loaders.js
webpack/loaders.js
+12
-3
webpack/webpack.config.dev.js
webpack/webpack.config.dev.js
+1
-1
webpack/webpack.config.prod.js
webpack/webpack.config.prod.js
+2
-1
No files found.
public/apple-app-site-association
0 → 100644
View file @
171afdc8
{
"webcredentials": {
"apps": [
"K5MMVK2UFR.edu.gmu.srct.whatsopen"
]
},
"applinks": {
"apps": [],
"details": [
{
"appID": "K5MMVK2UFR.edu.gmu.srct.whatsopen",
"paths": [
"/"
]
}
]
}
}
\ No newline at end of file
src/index.js
View file @
171afdc8
...
...
@@ -15,6 +15,7 @@ import './styles/whatsOpen.scss';
import
'
typeface-roboto
'
;
import
'
../public/manifest.json
'
;
import
'
../public/favicon.png
'
;
import
'
../public/apple-app-site-association
'
;
// Create a history of your choosing (we're using a browser history in this case)
const
history
=
createHistory
();
...
...
webpack/loaders.js
View file @
171afdc8
...
...
@@ -77,15 +77,23 @@ const fileLoader = {
}
};
const
publicFile
Loader
=
{
const
faviconManifest
Loader
=
{
type
:
'
javascript/auto
'
,
test
:
/
\.(
png|
json
)
$/
,
test
:
/
(
favicon.png|manifest.
json
)
$/
,
loader
:
'
file-loader
'
,
options
:
{
name
:
'
[name].[ext]
'
}
};
const
appleAppSiteAssociationLoader
=
{
test
:
/apple-app-site-association$/
,
loader
:
'
file-loader
'
,
options
:
{
name
:
'
.well-known/[name]
'
}
};
module
.
exports
=
{
eslintLoader
:
eslintLoader
,
babelLoader
:
babelLoader
,
...
...
@@ -94,5 +102,6 @@ module.exports = {
cssExtractLoader
:
cssExtractLoader
,
scssExtractLoader
:
scssExtractLoader
,
fileLoader
:
fileLoader
,
publicFileLoader
:
publicFileLoader
faviconManifestLoader
:
faviconManifestLoader
,
appleAppSiteAssociationLoader
:
appleAppSiteAssociationLoader
};
\ No newline at end of file
webpack/webpack.config.dev.js
View file @
171afdc8
...
...
@@ -23,7 +23,7 @@ module.exports = {
loaders
.
cssLoader
,
loaders
.
scssLoader
,
loaders
.
fileLoader
,
loaders
.
publicFile
Loader
loaders
.
faviconManifest
Loader
]
},
plugins
:
[
...
...
webpack/webpack.config.prod.js
View file @
171afdc8
...
...
@@ -28,7 +28,8 @@ module.exports = {
loaders
.
cssExtractLoader
,
loaders
.
scssExtractLoader
,
loaders
.
fileLoader
,
loaders
.
publicFileLoader
loaders
.
faviconManifestLoader
,
loaders
.
appleAppSiteAssociationLoader
]
},
optimization
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment