summaryrefslogtreecommitdiff
path: root/web-ui
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui')
-rw-r--r--web-ui/config/public-assets-webpack.js1
-rw-r--r--web-ui/src/account_recovery/account_recovery.html2
-rw-r--r--web-ui/webpack.config.js4
-rw-r--r--web-ui/webpack.production.config.js4
4 files changed, 6 insertions, 5 deletions
diff --git a/web-ui/config/public-assets-webpack.js b/web-ui/config/public-assets-webpack.js
index 28dff566..13364e2c 100644
--- a/web-ui/config/public-assets-webpack.js
+++ b/web-ui/config/public-assets-webpack.js
@@ -3,6 +3,7 @@ var CopyWebpackPlugin = require('copy-webpack-plugin');
module.exports = new CopyWebpackPlugin([
{ context: 'src/login/', from: '*.html' },
{ context: 'src/login/', from: '*.css' },
+ { context: 'src/account_recovery/', from: 'account_recovery.html' },
{ context: 'src/interstitial/', from: '*' },
{ context: 'app/', from: 'fonts/*' },
{ context: 'app/', from: 'locales/**/*' },
diff --git a/web-ui/src/account_recovery/account_recovery.html b/web-ui/src/account_recovery/account_recovery.html
index f4601239..35054455 100644
--- a/web-ui/src/account_recovery/account_recovery.html
+++ b/web-ui/src/account_recovery/account_recovery.html
@@ -9,6 +9,6 @@
</head>
<body>
<div id="root"/>
- <script type="text/javascript" src="/assets/account_recovery.js"></script>
+ <script type="text/javascript" src="/public/account_recovery.js"></script>
</body>
</html>
diff --git a/web-ui/webpack.config.js b/web-ui/webpack.config.js
index 0470b508..e82cf88b 100644
--- a/web-ui/webpack.config.js
+++ b/web-ui/webpack.config.js
@@ -21,11 +21,12 @@ var commonConfiguration = {
var publicAssets = Object.assign({}, commonConfiguration, {
entry: {
'login': './src/login/login.js',
+ 'account_recovery': './src/account_recovery/account_recovery.js'
},
output: {
path: path.join(__dirname, 'dist/public'),
filename: '[name].js',
- publicPath: '/assets/'
+ publicPath: '/public/'
},
plugins: [
publicAssetsWebpack,
@@ -39,7 +40,6 @@ var publicAssets = Object.assign({}, commonConfiguration, {
var protectedAssets = Object.assign({}, commonConfiguration, {
entry: {
'app': './app/js/index.js',
- 'account_recovery': './src/account_recovery/account_recovery.js',
'backup_account': './src/backup_account/backup_account.js',
'sandbox': './app/js/sandbox.js'
},
diff --git a/web-ui/webpack.production.config.js b/web-ui/webpack.production.config.js
index 23be0565..c731526a 100644
--- a/web-ui/webpack.production.config.js
+++ b/web-ui/webpack.production.config.js
@@ -31,11 +31,12 @@ var commonPlugins = [
var publicAssets = Object.assign({}, commonConfiguration, {
entry: {
'login': './src/login/login.js',
+ 'account_recovery': './src/account_recovery/account_recovery.js'
},
output: {
path: path.join(__dirname, 'dist/public'),
filename: '[name].js',
- publicPath: '/assets/'
+ publicPath: '/public/'
},
plugins: commonPlugins.concat([ publicAssetsWebpack ])
});
@@ -43,7 +44,6 @@ var publicAssets = Object.assign({}, commonConfiguration, {
var protectedAssets = Object.assign({}, commonConfiguration, {
entry: {
'app': './app/js/index.js',
- 'account_recovery': './src/account_recovery/account_recovery.js',
'backup_account': './src/backup_account/backup_account.js',
'sandbox': './app/js/sandbox.js'
},