diff --git a/accountant-ui/index.ejs b/src/index.ejs similarity index 100% rename from accountant-ui/index.ejs rename to src/index.ejs diff --git a/accountant-ui/js/accounts.js b/src/js/accounts.js similarity index 100% rename from accountant-ui/js/accounts.js rename to src/js/accounts.js diff --git a/accountant-ui/js/app.js b/src/js/app.js similarity index 100% rename from accountant-ui/js/app.js rename to src/js/app.js diff --git a/accountant-ui/js/bootstrap.config.js b/src/js/bootstrap.config.js similarity index 100% rename from accountant-ui/js/bootstrap.config.js rename to src/js/bootstrap.config.js diff --git a/accountant-ui/js/bootstrap.config.less b/src/js/bootstrap.config.less similarity index 100% rename from accountant-ui/js/bootstrap.config.less rename to src/js/bootstrap.config.less diff --git a/accountant-ui/js/operations.js b/src/js/operations.js similarity index 100% rename from accountant-ui/js/operations.js rename to src/js/operations.js diff --git a/accountant-ui/js/scheduler.js b/src/js/scheduler.js similarity index 100% rename from accountant-ui/js/scheduler.js rename to src/js/scheduler.js diff --git a/accountant-ui/less/main.less b/src/less/main.less similarity index 100% rename from accountant-ui/less/main.less rename to src/less/main.less diff --git a/accountant-ui/views/account.form.tmpl.html b/src/views/account.form.tmpl.html similarity index 100% rename from accountant-ui/views/account.form.tmpl.html rename to src/views/account.form.tmpl.html diff --git a/accountant-ui/views/accounts.html b/src/views/accounts.html similarity index 100% rename from accountant-ui/views/accounts.html rename to src/views/accounts.html diff --git a/accountant-ui/views/login.tmpl.html b/src/views/login.tmpl.html similarity index 100% rename from accountant-ui/views/login.tmpl.html rename to src/views/login.tmpl.html diff --git a/accountant-ui/views/operation.form.tmpl.html b/src/views/operation.form.tmpl.html similarity index 100% rename from accountant-ui/views/operation.form.tmpl.html rename to src/views/operation.form.tmpl.html diff --git a/accountant-ui/views/operations.html b/src/views/operations.html similarity index 100% rename from accountant-ui/views/operations.html rename to src/views/operations.html diff --git a/accountant-ui/views/scheduler.html b/src/views/scheduler.html similarity index 100% rename from accountant-ui/views/scheduler.html rename to src/views/scheduler.html diff --git a/webpack.config.js b/webpack.config.js index 005c3c5..86a3c0e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -3,7 +3,7 @@ const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { - context: path.resolve(__dirname, 'accountant-ui'), + context: path.resolve(__dirname, 'src'), entry: './js/app.js', devtool: 'source-map', module: { @@ -28,7 +28,7 @@ module.exports = { // Javascript enforce: 'pre', test: /\.jsx?$/, - include: path.resolve(__dirname, 'accountant-ui'), + //include: path.resolve(__dirname, 'src'), exclude: /(node_modules|bootstrap)/, loader: 'eslint-loader', options: { @@ -63,7 +63,7 @@ module.exports = { }, { test: /\.html$/, use: [ - 'ngtemplate-loader?relativeTo=/accountant-ui/accountant-ui', + 'ngtemplate-loader?relativeTo=/accountant-ui/src', 'html-loader' ] }, {