Top "Webpack" questions

Webpack is a static module bundler for modern JavaScript applications.

Getting Unexpected Token Export

I am trying to run some ES6 code in my project but I am getting an unexpected token export error. …

javascript ecmascript-6 webpack babeljs
Correct path for img on React.js

I have some problem with my images on my react project. Indeed I always thought that relative path into src …

javascript reactjs webpack
Managing jQuery plugin dependency in webpack

I'm using Webpack in my application, in which I create two entry points - bundle.js for all my JavaScript …

javascript jquery amd webpack
How to import and export components using React + ES6 + webpack?

I'm playing around with React and ES6 using babel and webpack. I want to build several components in different files, …

reactjs ecmascript-6 webpack
babel-loader jsx SyntaxError: Unexpected token

I'm a beginner in React + Webpack. I found a weird error in my hello world web app. I'm using babel-loader …

javascript reactjs webpack babeljs
How to copy static files to build directory with Webpack?

I'm trying to move from Gulp to Webpack. In Gulp I have task which copies all files and folders from /…

javascript webpack
NPM vs. Bower vs. Browserify vs. Gulp vs. Grunt vs. Webpack

I'm trying to summarize my knowledge about the most popular JavaScript package managers, bundlers, and task runners. Please correct me …

gruntjs npm gulp bower webpack
Error message "error:0308010C:digital envelope routines::unsupported"

I created the default IntelliJ IDEA React project and got this: Error: error:0308010C:digital envelope routines::unsupported at new …

node.js reactjs webpack webstorm
Passing environment-dependent variables in webpack

I'm trying to convert an angular app from gulp to webpack. in gulp I use gulp-preprocess to replace some variables …

javascript webpack
"You may need an appropriate loader to handle this file type" with Webpack and Babel

I am trying to use Webpack with Babel to compile ES6 assets, but I am getting the following error message: …

javascript webpack babeljs es6-module-loader