[Request] To make Rider understand webpack config file
See original GitHub issueIf I have this section in quasar.conf.js
extendWebpack (cfg) {
cfg.resolve.modules.push(path.resolve('./src'));
cfg.resolve.modules.push(path.resolve('./src/modules'));
cfg.resolve.modules.push(path.resolve('./src/components'));
cfg.resolve.modules.push(path.resolve('./src/services'));
}
},
Webpack resolver pathes with this definotions. To make Rider understand pathes I made this file manualy.
'use strict'
const path = require('path')
module.exports = {
resolve: {
modules: [
path.resolve(__dirname, './src'),
path.resolve(__dirname, './src/modules'),
path.resolve(__dirname, './src/components'),
path.resolve(__dirname, './src/services')
]
}
}
And this is no problem. But may be to make it inside ide-helper? Or not directly this but make full compiled webpack configuration file to make Rider understand all connecting webpack config?
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Webpack | JetBrains Rider Documentation
Create one or several configuration files depending on your project structure: select a parent folder in the Project tool window and select New ......
Read more >Configuration - webpack
createapp.dev is an online tool for creating custom webpack configurations. It allows you to select various features that will be combined and added...
Read more >How to configure Webpack 4 or 5 from scratch for a basic ...
1. Install Webpack. We use npm: $ npm init command to create a package.json file in a project folder where we will put...
Read more >Webpack Quick Start - Rider Theme | Keenthemes
The main webpack build config file is located in tools/webpack.config.js and you can fully customize the build settings to meet your project requirements....
Read more >Is Vite Better than Webpack? - Bits and Pieces
Webpack is a bundler-based build tool, which means that to serve your application ... and concatenate your application's entire JavaScript file.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So I think the best way is just to generate
webpack.conf.js
in root dir, and notify user that this file is not for configuring build process but to help Idea, and to show webpack result for user purposes.I think this is done (for the next release) - I couldn’t actually find where Idea stores the setting for the webpack config, seems like there is no mention of it in
.idea
folder.I guess I’ll just add a notice for user to set it manually (I don’t feel right about messing around with
.idea
folder anyway - it’s internal to for the IDE and it’s structure and format can change at any time)