-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Markus Sabadello <[email protected]>
- Loading branch information
1 parent
d0f4b9c
commit ffbc460
Showing
13 changed files
with
7,411 additions
and
53 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ node_modules/ | |
bower_components/ | ||
dist/ | ||
output/ | ||
package-lock.json | ||
.project | ||
*.lock | ||
*.log | ||
|
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
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,4 +1,4 @@ | ||
@import 'components/warning-popup'; | ||
@import 'warning-popup'; | ||
|
||
.footer { | ||
} |
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,4 +1,4 @@ | ||
@import 'components/warning-button'; | ||
@import 'warning-button'; | ||
|
||
.heading { | ||
color: black; | ||
|
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,9 +1,9 @@ | ||
@import 'components/resolver-input'; | ||
@import 'components/error'; | ||
@import 'components/result/did-result'; | ||
@import 'components/result/did-document'; | ||
@import 'components/result/did-resolution-metadata'; | ||
@import 'components/result/did-document-metadata'; | ||
@import 'resolver-input'; | ||
@import 'error'; | ||
@import 'result/did-result'; | ||
@import 'result/did-document'; | ||
@import 'result/did-resolution-metadata'; | ||
@import 'result/did-document-metadata'; | ||
|
||
.resolver { | ||
} |
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,8 +1,8 @@ | ||
@import 'components/result/qrcode'; | ||
@import 'components/result/did-url'; | ||
@import 'components/result/did-redirect'; | ||
@import 'components/result/service'; | ||
@import 'components/result/publickey'; | ||
@import 'qrcode'; | ||
@import 'did-url'; | ||
@import 'did-redirect'; | ||
@import 'service'; | ||
@import 'publickey'; | ||
|
||
.did-result { | ||
} |
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,4 +1,4 @@ | ||
@import 'components/warning-popup'; | ||
@import 'warning-popup'; | ||
|
||
.warning-button { | ||
} |
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 |
---|---|---|
|
@@ -35,9 +35,5 @@ module.exports = { | |
use: ['url-loader'] | ||
} | ||
] | ||
}, | ||
devServer: { | ||
contentBase: './src', | ||
publicPath: '/output' | ||
} | ||
}; |
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,11 +1,16 @@ | ||
const webpack = require('webpack'); | ||
const merge = require('webpack-merge'); | ||
const { merge } = require('webpack-merge'); | ||
const common = require('./webpack.common.js'); | ||
|
||
module.exports = merge(common, { | ||
mode: 'development', | ||
plugins: [ | ||
new webpack.DefinePlugin({ | ||
'env.backendUrl': JSON.stringify('http://localhost:8080/') | ||
}) | ||
] | ||
], | ||
devServer: { | ||
contentBase: './src', | ||
publicPath: '/output' | ||
} | ||
}); |
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,10 +1,18 @@ | ||
const merge = require('webpack-merge'); | ||
const webpack = require('webpack'); | ||
const { merge } = require('webpack-merge'); | ||
const common = require('./webpack.common.js'); | ||
|
||
const TerserPlugin = require('terser-webpack-plugin'); | ||
|
||
module.exports = merge(common, { | ||
mode: 'production', | ||
optimization: { | ||
minimize: true, | ||
minimizer: [new TerserPlugin()], | ||
} | ||
}, | ||
plugins: [ | ||
new webpack.DefinePlugin({ | ||
'env.backendUrl': JSON.stringify('/'), | ||
}) | ||
] | ||
}); |