Rename accountant-ui dir to src.
This commit is contained in:
parent
3c4a67a952
commit
9fe38b2560
@ -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'
|
||||
]
|
||||
}, {
|
||||
|
Loading…
Reference in New Issue
Block a user