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');
|
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'
|
||||||
]
|
]
|
||||||
}, {
|
}, {
|
||||||
|
Loading…
Reference in New Issue
Block a user