2018-02-23 12:02:56 +00:00
|
|
|
const { resolve } = require('path');
|
|
|
|
const webpackMerge = require('webpack-merge');
|
|
|
|
const { dev, prod } = require('@ionic/app-scripts/config/webpack.config');
|
|
|
|
|
|
|
|
const customConfig = {
|
|
|
|
resolve: {
|
|
|
|
alias: {
|
|
|
|
'@addon': resolve('./src/addon'),
|
2018-03-12 14:44:41 +00:00
|
|
|
'@app': resolve('./src/app'),
|
2018-02-23 12:02:56 +00:00
|
|
|
'@classes': resolve('./src/classes'),
|
|
|
|
'@core': resolve('./src/core'),
|
|
|
|
'@providers': resolve('./src/providers'),
|
|
|
|
'@components': resolve('./src/components'),
|
2018-03-12 14:44:41 +00:00
|
|
|
'@directives': resolve('./src/directives'),
|
|
|
|
'@pipes': resolve('./src/pipes')
|
2018-02-23 12:02:56 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
dev: webpackMerge(dev, customConfig),
|
|
|
|
prod: webpackMerge(prod, customConfig),
|
2018-02-27 07:39:45 +00:00
|
|
|
}
|