Top "Webpack" questions

Webpack is a static module bundler for modern JavaScript applications.

where is create-react-app webpack config and files?

I create a ReactJS project with the create-react-app package and that worked well, but I cannot find webpack files and …

javascript reactjs webpack ecmascript-6 create-react-app
How to use Google fonts in React.js?

I had built a website with React.js and webpack. I want to use Google fonts in the webpage, so …

reactjs webpack google-font-api
How to determine the installed webpack version

Especially during the transition from webpack v1 to v2, it would be important to programmatically determine what webpack version is …

javascript node.js webpack webpack-2 webpack-3
How to create multiple output paths in Webpack config

Does anyone know how to create multiple output paths in a webpack.config.js file? I'm using bootstrap-sass which comes …

path output config webpack loader
Field 'browser' doesn't contain a valid alias configuration

I've started using webpack2 (to be precise, v2.3.2) and after re-creating my config I keep running into an issue I …

npm webpack commonjs webpack-2 package.json
Webpack.config how to just copy the index.html to the dist folder

I am trying to automate assets going into /dist. I have the following config.js: module.exports = { context: __dirname + "/lib", …

webpack
Dynamically Add Images React Webpack

I've been trying to figure out how to dynamically add images via React and Webpack. I have an image folder …

reactjs webpack image-loading urlloader
ES6 exporting/importing in index file

I am currently using ES6 in an React app via webpack/babel. I am using index files to gather all …

javascript ecmascript-6 webpack babeljs
How to Polyfill node core modules in webpack 5

webpack 5 no longer do auto-polyfilling for node core modules. How to fix it please? PS: I'm a beginner in development …

node.js webpack