Fix module resolution.
This commit is contained in:
parent
2ae971a7ad
commit
3ff0015690
@ -30,7 +30,7 @@ var ngResource = require('angular-resource'),
|
|||||||
var balanceChartModule = require('./balance-chart.component'),
|
var balanceChartModule = require('./balance-chart.component'),
|
||||||
categoryChartModule = require('./category-chart.component');
|
categoryChartModule = require('./category-chart.component');
|
||||||
|
|
||||||
import accountModule from '../accounts/index';
|
import accountModule from '@accountant/accounts';
|
||||||
|
|
||||||
var OperationFactory = require('./operation.factory');
|
var OperationFactory = require('./operation.factory');
|
||||||
var OperationConfig = require('./operation.config');
|
var OperationConfig = require('./operation.config');
|
||||||
|
@ -10,10 +10,14 @@ module.exports = {
|
|||||||
resolve: {
|
resolve: {
|
||||||
extensions: ['.js', '.jsx', '.ts', '.tsx', '.html'],
|
extensions: ['.js', '.jsx', '.ts', '.tsx', '.html'],
|
||||||
alias: {
|
alias: {
|
||||||
'@accountant/accounts': './accounts/index.ts',
|
'@accountant/accounts': path.resolve(
|
||||||
'@accountant/operations': './operations/index.ts',
|
__dirname, 'src/accounts/index.ts'),
|
||||||
'@accountant/login': './login/index.ts',
|
'@accountant/operations': path.resolve(
|
||||||
'@accountant/scheduler': './scheduler/index.ts'
|
__dirname, 'src/operations/index.ts'),
|
||||||
|
'@accountant/login': path.resolve(
|
||||||
|
__dirname, 'src/login/index.ts'),
|
||||||
|
'@accountant/scheduler': path.resolve(
|
||||||
|
__dirname, 'src/scheduler/index.ts')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
|
Loading…
Reference in New Issue
Block a user