Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open-web
Commits
171afdc8
Commit
171afdc8
authored
Jun 07, 2018
by
Andrew Hrdy
Browse files
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
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