madskristensen / WebPackTaskRunner

A Visual Studio extension
Other
40 stars 17 forks source link

Support more than one config file #30

Closed karlromanowski closed 7 years ago

karlromanowski commented 7 years ago

I have multiple React apps in different areas of an ASP.NET MVC project.

My current webpack.config.ts looks like:

module.exports = { entry: { "./Areas/App1/App/Built": "./Areas/App1/App/index.tsx", "./Areas/App2/App/Built": "./Areas/App2/App/index.tsx", "./Areas/App3/App/Built": "./Areas/App3/App/index.tsx" }, output: { path: "./", filename: "[name]/bundle.js" }, ... }

I understand that we can't have config files in directories, but because I am limited to one webpack.config file when I want to build one app it builds all 3.

I would like to have: webpack.config.app1.js webpack.config.app2.js webpack.config.app3.js

ghost commented 7 years ago

@madskristensen I just had a look around the source code and this is already supported with the current version. This issue can be closed.