M
M
mikor2017-08-01 15:58:35
npm
mikor, 2017-08-01 15:58:35

React, which environment to use?

I am using yarn and have a packege.json file that has 2 lists of plugins, one devDependencies and dependencies.
Can't figure out which plugin goes where? For example, webpack is used not only in development, but in the docks it is placed in dev. Please explain

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Alexandrovich, 2017-08-01
@mikor

devDependencies which are only used in development
dependencies which are required in both development and build A
very detailed answer: https://stackoverflow.com/questions/18875674/whats...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question