18 lines
620 B
JavaScript
18 lines
620 B
JavaScript
// import { CompilerConfiguration } from 'oak-domain/lib/types/Configuration';
|
|
const path = require('path');
|
|
const { CreateCompilerConfig } = require('@xuchangzju/oak-cli/lib/createConfig');
|
|
|
|
module.exports = CreateCompilerConfig({
|
|
webpack: {
|
|
extraOakModules: [],
|
|
resolve: {
|
|
alias: {
|
|
'@oak-frontend-base': path.resolve('node_modules/oak-frontend-base/es'),
|
|
'@oak-app-domain': path.resolve('src', 'oak-app-domain'),
|
|
'@project': path.resolve('src'),
|
|
'@assets': path.resolve('src', 'assets'),
|
|
}
|
|
}
|
|
}
|
|
});
|