juanramirez / on-duty

On duty calendar organizer for hospital services.
MIT License
0 stars 0 forks source link

Webpack configuration #25

Open juanramirez opened 2 years ago

juanramirez commented 2 years ago

As a developer, I want to use a bundler to be able to build static assets from modules. The tool I seem to remember to use in the past to do this task is Webpack, so I'll also try to use that tool in DoctorPlan.

Webpack ~needs a configuration file to work~ works better with a configuration file. That file should follow the guidelines described in this documentation to make it work with DoctorPlan.

In our package.json file, there should also be a watch target and a build target. The latter will build the static assets of the project; the former will keep waiting for changes in the source files and will apply our build rules to build those static assets on-the-fly.

juanramirez commented 2 years ago

Depends on #27 (Read documentation about Webpack).