schlechtenburg/packages/core/vite.config.js
2020-12-27 22:32:43 +01:00

14 lines
350 B
JavaScript

const path = require('path');
const ROOT_DIR = path.resolve(__dirname);
const SRC_DIR = path.resolve(ROOT_DIR, 'lib');
module.exports = {
alias: {
'/@/': SRC_DIR,
'/@components/': path.join(SRC_DIR, 'components'),
'/@internal/': path.join(SRC_DIR, 'components/internal'),
'/@user/': path.join(SRC_DIR, 'components/user'),
},
};