mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-01-30 10:26:29 +00:00
36 lines
998 B
JavaScript
36 lines
998 B
JavaScript
/**
|
|
* This file can be used in combination with intellij idea so the @baserow path
|
|
* resolves.
|
|
*
|
|
* Intellij IDEA: Preferences -> Languages & Frameworks -> JavaScript -> Webpack ->
|
|
* webpack configuration file
|
|
*/
|
|
|
|
const path = require('path')
|
|
|
|
module.exports = {
|
|
resolve: {
|
|
extensions: ['.js', '.json', '.vue', '.ts'],
|
|
root: path.resolve(__dirname),
|
|
alias: {
|
|
'@baserow': path.resolve(__dirname),
|
|
'@baserow_premium': path.resolve(
|
|
__dirname,
|
|
'../premium/web-frontend/modules/baserow_premium'
|
|
),
|
|
'@baserow_premium_test': path.resolve(
|
|
__dirname,
|
|
'../premium/web-frontend/test'
|
|
),
|
|
'@baserow_enterprise': path.resolve(
|
|
__dirname,
|
|
'../enterprise/web-frontend/modules/baserow_enterprise'
|
|
),
|
|
'@baserow_enterprise_test': path.resolve(
|
|
__dirname,
|
|
'../enterprise/web-frontend/test'
|
|
),
|
|
'@baserow_test_cases': path.resolve(__dirname, '../tests/cases'),
|
|
},
|
|
},
|
|
}
|