s00d / webpack-shell-plugin-next

Run shell commands either before or after webpack 4 and 5 builds
MIT License
92 stars 12 forks source link

Using with in-memory webpack-dev-server #9

Closed vagonpidarasov closed 5 years ago

vagonpidarasov commented 5 years ago

Overview

I'd like to execute some command (which creates a file) with webpack-dev-server.

Actual behaviour

File appears in file system

Expected Behaviour

File appears in-memory of webpack-dev-server

s00d commented 5 years ago

see Function in scripts or you . can use js file

 scripts: [
   'node ./test/file.js',