Running webpack as a the build command
Hey,
I have a webpack based javascript (typescript) project which I want to work in in intellij. It is compiled and bundled using the webpack command.
Can I somehow configure intellij, so that it runs webpack when I select build?
Thanks!
Nathan
Please sign in to leave a comment.
what do you mean by 'selecting build'? You can run webpack from Idea via npm (as npm script), as Gulp/Grunt task, as a file watcher, as an external tool, etc.
would you like to run it when you choose Build/Build project? No, it's not possible
Hey,
By "selecting Build" I mean go to the menu, press Build -> Build Project or press Ctrl+F9.
But maybe the options you list are fine. I will look into that, thanks!
Nathan