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'); const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = { module.exports = {
context: path.resolve(__dirname, 'accountant-ui'), context: path.resolve(__dirname, 'src'),
entry: './js/app.js', entry: './js/app.js',
devtool: 'source-map', devtool: 'source-map',
module: { module: {
@ -28,7 +28,7 @@ module.exports = {
// Javascript // Javascript
enforce: 'pre', enforce: 'pre',
test: /\.jsx?$/, test: /\.jsx?$/,
include: path.resolve(__dirname, 'accountant-ui'), //include: path.resolve(__dirname, 'src'),
exclude: /(node_modules|bootstrap)/, exclude: /(node_modules|bootstrap)/,
loader: 'eslint-loader', loader: 'eslint-loader',
options: { options: {
@ -63,7 +63,7 @@ module.exports = {
}, { }, {
test: /\.html$/, test: /\.html$/,
use: [ use: [
'ngtemplate-loader?relativeTo=/accountant-ui/accountant-ui', 'ngtemplate-loader?relativeTo=/accountant-ui/src',
'html-loader' 'html-loader'
] ]
}, { }, {