Rename accountant-ui dir to src.

This commit is contained in:
Alexis Lahouze 2017-06-10 20:24:51 +02:00
parent 3c4a67a952
commit 9fe38b2560
15 changed files with 3 additions and 3 deletions

View File

@ -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'
]
}, {