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'),
|
||||
categoryChartModule = require('./category-chart.component');
|
||||
|
||||
import accountModule from '../accounts/index';
|
||||
import accountModule from '@accountant/accounts';
|
||||
|
||||
var OperationFactory = require('./operation.factory');
|
||||
var OperationConfig = require('./operation.config');
|
||||
|
@ -10,10 +10,14 @@ module.exports = {
|
||||
resolve: {
|
||||
extensions: ['.js', '.jsx', '.ts', '.tsx', '.html'],
|
||||
alias: {
|
||||
'@accountant/accounts': './accounts/index.ts',
|
||||
'@accountant/operations': './operations/index.ts',
|
||||
'@accountant/login': './login/index.ts',
|
||||
'@accountant/scheduler': './scheduler/index.ts'
|
||||
'@accountant/accounts': path.resolve(
|
||||
__dirname, 'src/accounts/index.ts'),
|
||||
'@accountant/operations': path.resolve(
|
||||
__dirname, 'src/operations/index.ts'),
|
||||
'@accountant/login': path.resolve(
|
||||
__dirname, 'src/login/index.ts'),
|
||||
'@accountant/scheduler': path.resolve(
|
||||
__dirname, 'src/scheduler/index.ts')
|
||||
}
|
||||
},
|
||||
module: {
|
||||
|
Loading…
Reference in New Issue
Block a user