| | |
| | | import ComponentsPlugin from 'unplugin-vue-components/webpack'; |
| | | import NutUIResolver from '@nutui/nutui-taro/dist/resolver'; |
| | | |
| | | const rootPath = path.resolve(__dirname, '..', '..', '..'); |
| | | |
| | | const config = { |
| | | projectName: 'vue-mini', |
| | | date: '2022-11-29', |
| | |
| | | }, |
| | | alias: { |
| | | '@': path.resolve(__dirname, '..', 'src'), |
| | | '@life-payment/components': path.resolve( |
| | | __dirname, |
| | | '..', |
| | | 'node_modules', |
| | | '@life-payment/components' |
| | | ), |
| | | '@life-payment/components': path.resolve(rootPath, 'packages', 'components'), |
| | | }, |
| | | sourceRoot: 'src', |
| | | outputRoot: `dist/${process.env.TARO_ENV}`, |