How to resolve multiple project‘s webpack.config.js in one window

i hope webstorm can auto change project index like this:when i'm in project1 folder,change project index to 0,and when i'm in project2 folder change project index to 1,...,or provide any others feature 

i create webstorm.config.js in order to resolve alias '@' and others my be used 

'use strict'
const {resolve} = require('path')
const project=[
'./project1',
'./project2',
'./project3',
'./project4',

][2]
module.exports = {
context: resolve(__dirname, project),
resolve: {
alias: {
'@': resolve(__dirname,project+'/src'),
}
},
}

 

1 comment
Comment actions Permalink

there is no such feature

Related feature request: https://youtrack.jetbrains.com/issue/WEB-29578

0

Please sign in to leave a comment.