Answer the question
In order to leave comments, you need to log in
How to tell webpack to pick up minified versions of files from node_modules?
for example, import React from 'react'
it will take react.js from node_modules/react/dist, where react.min.js is located next to it.
How to force to take react.min instead of react?
Answer the question
In order to leave comments, you need to log in
As an option - to set either an alias for each - but this is not very beautiful.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question